Add --load flag

This commit is contained in:
JeremyStar™ 2024-08-18 18:05:37 +02:00
parent 155467bbbf
commit 6302190494
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -8,8 +8,8 @@ help:
build: build:
docker buildx rm actions-docker || true docker buildx rm actions-docker || true
docker buildx create --name actions-docker --bootstrap --use docker buildx create --name actions-docker --bootstrap --use
docker buildx build --platform ${PLATFORMS} -t git.staropensource.de/staropensource/actions-docker:latest -f Dockerfile . docker buildx build --load --platform ${PLATFORMS} -t git.staropensource.de/staropensource/actions-docker:latest -f Dockerfile .
docker buildx build --platform ${PLATFORMS} -t git.staropensource.de/staropensource/actions-docker:java -f Dockerfile.java . docker buildx build --load --platform ${PLATFORMS} -t git.staropensource.de/staropensource/actions-docker:java -f Dockerfile.java .
docker buildx rm actions-docker docker buildx rm actions-docker
upload: build upload: build
docker push git.staropensource.de/staropensource/actions-docker:latest docker push git.staropensource.de/staropensource/actions-docker:latest