From 8ea2535631f9f386c29495f0bdb0d70003cc066f Mon Sep 17 00:00:00 2001 From: Martin Buchleitner Date: Fri, 6 Dec 2024 08:32:36 +0100 Subject: [PATCH] fix: rename ghcr container image name based on image_name var Signed-off-by: Martin Buchleitner --- .github/workflows/container.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index f81896e..6a24e35 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -98,11 +98,11 @@ jobs: if [ "${{ github.event_name }}" = "schedule" ]; then VERSION="nightly" fi - GHCR_IMAGE="ghcr.io/${{ github.repository }}" + GHCR_IMAGE="ghcr.io/${IMAGE_NAME}" TAGS="${GHCR_IMAGE}:${VERSION}" if [[ -n "${{ secrets.QUAY_USER }}" ]]; then - QUAY_IMAGE="quay.io/$IMAGE_REPO/$IMAGE_NAME" + QUAY_IMAGE="quay.io/${IMAGE_REPO}/${IMAGE_NAME}" tags="${TAGS}:${QUAY_IMAGE}:${VERSION}" fi