From 5ad181acd2ab59a19f8c5e430bb693d952fc2568 Mon Sep 17 00:00:00 2001 From: Taras Sotnikov Date: Tue, 26 Nov 2024 17:01:45 +0100 Subject: [PATCH] Fix repository owner must be lowercase on docker publish --- .github/workflows/on_release.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/on_release.yaml b/.github/workflows/on_release.yaml index 0c6e578..9fd749e 100644 --- a/.github/workflows/on_release.yaml +++ b/.github/workflows/on_release.yaml @@ -68,6 +68,13 @@ jobs: - name: Set up QEMU uses: docker/setup-qemu-action@v3 + - name: Set lower case owner name + id: lower-case + run: | + echo "repository_owner=${OWNER,,}" >> ${GITHUB_OUTPUT} + env: + OWNER: ${{ github.repository_owner }} + - name: Build and push the Docker image run: | ./earthly \ @@ -75,4 +82,4 @@ jobs: +build-image-multiarch \ --version=${{ env.RELEASE_VERSION }} \ --commitSHA=${{ env.SHORT_SHA }} \ - --image_name=ghcr.io/${{ github.repository_owner }}/prom-aggregation-gateway + --image_name=ghcr.io/${{ steps.lower-case.outputs.repository_owner }}/prom-aggregation-gateway