diff --git a/.github/workflows/image-build-and-publish.yml b/.github/workflows/image-build-and-publish.yml index 2ec146c5..be3d1737 100644 --- a/.github/workflows/image-build-and-publish.yml +++ b/.github/workflows/image-build-and-publish.yml @@ -34,6 +34,9 @@ jobs: id-token: write steps: + - name: downcase REPO + run: | + echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV} - name: Checkout repository uses: actions/checkout@v4 @@ -74,7 +77,7 @@ jobs: run: | VERSION=$(cat VERSION) echo "VERSION=$VERSION" >> $GITHUB_ENV - TAGS=$(echo "ghcr.io/$GITHUB_REPOSITORY:$VERSION" , "ghcr.io/$GITHUB_REPOSITORY:latest") + TAGS=$(echo "ghcr.io/$REPO:$VERSION" , "ghcr.io/$REPO:latest") echo "TAGS=$TAGS" >> $GITHUB_ENV - name: Create tags (version only) if this is NOT a release @@ -83,7 +86,7 @@ jobs: run: | VERSION="dev" echo "VERSION=$VERSION" >> $GITHUB_ENV - TAGS=$(echo "ghcr.io/$GITHUB_REPOSITORY:$VERSION") + TAGS=$(echo "ghcr.io/$REPO:$VERSION") echo "TAGS=$TAGS" >> $GITHUB_ENV - name: Show versions and tags