proper quoting

This commit is contained in:
El RIDO 2021-06-06 11:27:16 +02:00
parent 9b0301e2ee
commit de2c135fef
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -10,11 +10,11 @@ VERSION=${GITHUB_REF##*/}
EVENT=$1
[ "${EVENT}" = "schedule" ] && VERSION=nightly
BUILDX_ARGS=--tag ${IMAGE}:latest \
BUILDX_ARGS="--tag ${IMAGE}:latest \
--tag ${IMAGE}:${VERSION} --tag ${IMAGE}:${VERSION%%-*} \
--platform ${QEMU_PLATFORMS} .
BUILDX_EDGE_ARGS=--tag ${IMAGE}:edge \
--platform ${QEMU_PLATFORMS} -f Dockerfile-edge .
--platform ${QEMU_PLATFORMS} ."
BUILDX_EDGE_ARGS="--tag ${IMAGE}:edge \
--platform ${QEMU_PLATFORMS} -f Dockerfile-edge ."
# build images
docker build --no-cache --pull --output "type=image,push=false" ${BUILDX_ARGS}