Update docker-image.yml

This commit is contained in:
Alberto Xamin 2021-06-22 15:08:29 +02:00 committed by GitHub
parent 1f82ed8324
commit 14919ae476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ jobs:
docker buildx build \ docker buildx build \
--cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-from "type=local,src=/tmp/.buildx-cache" \
--cache-to "type=local,dest=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \
--platform linux/amd64,linux/arm/v7,linux/arm64 \ --platform linux/amd64,linux/arm/v7 \
--output "type=image,push=false" \ --output "type=image,push=false" \
--tag albertoxamin/bang:latest \ --tag albertoxamin/bang:latest \
--file ./Dockerfile ./ --file ./Dockerfile ./
@ -43,7 +43,7 @@ jobs:
run: | run: |
docker buildx build \ docker buildx build \
--cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-from "type=local,src=/tmp/.buildx-cache" \
--platform linux/amd64,linux/arm/v7,linux/arm64 \ --platform linux/amd64,linux/arm/v7 \
--output "type=image,push=true" \ --output "type=image,push=true" \
--tag albertoxamin/bang:latest \ --tag albertoxamin/bang:latest \
--file ./Dockerfile ./ --file ./Dockerfile ./