Commit bb1e7beb authored by Kroese's avatar Kroese Committed by GitHub
Browse files

build: Debug

parent eaa8fae1
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -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