build: Debug

This commit is contained in:
Kroese 2023-11-29 06:07:00 +01:00 committed by GitHub
parent ac8b5dc7cd
commit 5f5da20a93

View file

@ -72,8 +72,8 @@ jobs:
LABELS=() LABELS=()
LABELS=("org.opencontainers.image.licenses=MIT") LABELS=("org.opencontainers.image.licenses=MIT")
LABELS+=("org.opencontainers.image.title=${TITLE//\"/}") #LABELS+=("org.opencontainers.image.title=${TITLE//\"/}")
LABELS+=("org.opencontainers.image.description=${DESC//\"/}") #LABELS+=("org.opencontainers.image.description=${DESC//\"/}")
LABELS+=("org.opencontainers.image.version=${VERSION}") LABELS+=("org.opencontainers.image.version=${VERSION}")
LABELS+=("org.opencontainers.image.created=${BUILD_DATE}") LABELS+=("org.opencontainers.image.created=${BUILD_DATE}")
LABELS+=("org.opencontainers.image.revision=${GITHUB_RUN_ID}") LABELS+=("org.opencontainers.image.revision=${GITHUB_RUN_ID}")
@ -86,6 +86,7 @@ jobs:
--output "type=image,push=false" \ --output "type=image,push=false" \
--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' "${TAGS[@]/#/ --tag }" ) "${DIRECTORY}" $(printf '%s' "${TAGS[@]/#/ --tag }" ) "${DIRECTORY}"
rm -f ${HOME}/.docker/config.json rm -f ${HOME}/.docker/config.json