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:
docker buildx rm actions-docker || true
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 --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:latest -f Dockerfile .
docker buildx build --load --platform ${PLATFORMS} -t git.staropensource.de/staropensource/actions-docker:java -f Dockerfile.java .
docker buildx rm actions-docker
upload: build
docker push git.staropensource.de/staropensource/actions-docker:latest