From 3eae18820873518b405ad3894b8ebb68b04fe16e Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 6 Jan 2024 12:20:49 -0800 Subject: [PATCH] deploy: tag GHCR image before push Signed-off-by: Tim Orling --- deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.sh b/deploy.sh index c1b55f0..558383f 100644 --- a/deploy.sh +++ b/deploy.sh @@ -24,6 +24,8 @@ if ([ "${GITHUB_EVENT_NAME}" = "push" ] || [ "${GITHUB_EVENT_NAME}" = "workflow_ ${ENGINE_CMD} push ${REPO}:latest fi + ${ENGINE_CMD} tag ${REPO}:${BASE_DISTRO} ghcr.io/${REPO}:${BASE_DISTRO} + echo $GHCR_PASSWORD | ${ENGINE_CMD} login ghcr.io -u $GHCR_USERNAME --password-stdin ${ENGINE_CMD} push ghcr.io/${REPO}:${BASE_DISTRO}