build: Debug
This commit is contained in:
parent
7d27baa163
commit
9a5223768b
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -80,13 +80,14 @@ jobs:
|
||||||
LABELS+=("org.opencontainers.image.url=\"https://hub.docker.com/r/${{ secrets.DOCKERHUB_REPO }}/\"")
|
LABELS+=("org.opencontainers.image.url=\"https://hub.docker.com/r/${{ secrets.DOCKERHUB_REPO }}/\"")
|
||||||
LABELS+=("org.opencontainers.image.source=\"https://github.com/${{ github.repository }}/\"")
|
LABELS+=("org.opencontainers.image.source=\"https://github.com/${{ github.repository }}/\"")
|
||||||
|
|
||||||
|
set -x
|
||||||
docker buildx build --platform ${PLATFORMS} \
|
docker buildx build --platform ${PLATFORMS} \
|
||||||
--output "type=image,push=false" \
|
--output "type=image,push=false" \
|
||||||
--progress=plain \
|
--progress=plain \
|
||||||
--build-arg "VERSION_ARG=${VERSION}" \
|
--build-arg "VERSION_ARG=${VERSION}" \
|
||||||
--build-arg "VCS_REF=${GITHUB_SHA::8}" \
|
--build-arg "VCS_REF=${GITHUB_SHA::8}" \
|
||||||
$(printf "%s" "${LABELS[@]/#/ --label }" ) \
|
$(printf "%s" "${LABELS[@]/#/ --label }" ) \
|
||||||
$(printf "%s" "${TAGS[@]/#/ --tag }" ) $DIRECTORY
|
$(printf "%s" "${TAGS[@]/#/ --tag }" ) ${DIRECTORY}
|
||||||
|
|
||||||
rm -f ${HOME}/.docker/config.json
|
rm -f ${HOME}/.docker/config.json
|
||||||
jdksks
|
jdksks
|
||||||
|
|
Loading…
Reference in a new issue