build: Debug

This commit is contained in:
Kroese 2023-11-29 05:58:45 +01:00 committed by GitHub
parent f5ad918482
commit 0dee1fc236

View file

@ -71,8 +71,8 @@ jobs:
TAGS+=("ghcr.io/${{ github.repository }}:${VERSION}") TAGS+=("ghcr.io/${{ github.repository }}:${VERSION}")
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}")
@ -86,11 +86,10 @@ 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
jdksks jdksks #$(printf '%s' "${LABELS[@]/#/ --label }" ) \
- -
name: Create a release name: Create a release
uses: action-pack/github-release@v2 uses: action-pack/github-release@v2