do not push to ghcr with buildx
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
a81246664b
commit
a0d664abfa
|
|
@ -12,7 +12,8 @@ export GHCR_PROJECT="democratic-csi"
|
||||||
export GHCR_REPO="ghcr.io/${GHCR_ORG}/${GHCR_PROJECT}"
|
export GHCR_REPO="ghcr.io/${GHCR_ORG}/${GHCR_PROJECT}"
|
||||||
|
|
||||||
if [[ -n "${IMAGE_TAG}" ]]; then
|
if [[ -n "${IMAGE_TAG}" ]]; then
|
||||||
docker buildx build --progress plain --pull --push --platform "${DOCKER_BUILD_PLATFORM}" -t ${DOCKER_REPO}:${IMAGE_TAG} -t ${GHCR_REPO}:${IMAGE_TAG} \
|
# -t ${GHCR_REPO}:${IMAGE_TAG}
|
||||||
|
docker buildx build --progress plain --pull --push --platform "${DOCKER_BUILD_PLATFORM}" -t ${DOCKER_REPO}:${IMAGE_TAG} \
|
||||||
--label "org.opencontainers.image.created=$(date -u --iso-8601=seconds)" \
|
--label "org.opencontainers.image.created=$(date -u --iso-8601=seconds)" \
|
||||||
--label "org.opencontainers.image.revision=${GITHUB_SHA}" \
|
--label "org.opencontainers.image.revision=${GITHUB_SHA}" \
|
||||||
.
|
.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue