build: Debug
This commit is contained in:
parent
eaa8fae19c
commit
bb1e7beb3a
1 changed files with 10 additions and 10 deletions
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
|
@ -71,14 +71,14 @@ jobs:
|
|||
TAGS+=("ghcr.io/${{ github.repository }}:${VERSION}")
|
||||
|
||||
LABELS=()
|
||||
LABELS=("org.opencontainers.image.licenses=\"MIT\"")
|
||||
LABELS+=("org.opencontainers.image.title=${TITLE//\'/}")
|
||||
LABELS+=("org.opencontainers.image.description=${DESC//\'/}")
|
||||
LABELS+=("org.opencontainers.image.version=\"${VERSION}\"")
|
||||
LABELS+=("org.opencontainers.image.created=\"${BUILD_DATE}\"")
|
||||
LABELS+=("org.opencontainers.image.revision=\"${GITHUB_RUN_ID}\"")
|
||||
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.licenses=\"MIT\"'")
|
||||
LABELS+=("'org.opencontainers.image.title=${TITLE//\'/}'")
|
||||
LABELS+=("'org.opencontainers.image.description=${DESC//\'/}'")
|
||||
LABELS+=("'org.opencontainers.image.version=\"${VERSION}\"'")
|
||||
LABELS+=("'org.opencontainers.image.created=\"${BUILD_DATE}\"'")
|
||||
LABELS+=("'org.opencontainers.image.revision=\"${GITHUB_RUN_ID}\"'")
|
||||
LABELS+=("'org.opencontainers.image.url=\"https://hub.docker.com/r/${{ secrets.DOCKERHUB_REPO }}/\"'")
|
||||
LABELS+=("'org.opencontainers.image.source=\"https://github.com/${{ github.repository }}/\"'")
|
||||
|
||||
set -x
|
||||
docker buildx build --progress=plain \
|
||||
|
@ -86,8 +86,8 @@ jobs:
|
|||
--output "type=image,push=false" \
|
||||
--build-arg "VERSION_ARG=${VERSION}" \
|
||||
--build-arg "VCS_REF=${GITHUB_SHA::8}" \
|
||||
"$(printf "%s" "${LABELS[@]/#/ --label }" )" \
|
||||
"$(printf "%s" "${TAGS[@]/#/ --tag }" )" "${DIRECTORY}"
|
||||
"$(printf "%q" "${LABELS[@]/#/ --label }" )" \
|
||||
"$(printf "%q" "${TAGS[@]/#/ --tag }" )" "${DIRECTORY}"
|
||||
|
||||
rm -f ${HOME}/.docker/config.json
|
||||
jdksks
|
||||
|
|
Loading…
Reference in a new issue