mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 16:01:29 +00:00
build: Debug
This commit is contained in:
+10
-10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user