From 3889df31e4c706dbfcdd7ab30956108e7e424651 Mon Sep 17 00:00:00 2001 From: Patrice Tisserand Date: Thu, 28 Mar 2024 18:59:00 +0100 Subject: [PATCH] CI: docker tag must be lowercase --- .github/workflows/indexer.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/indexer.yml b/.github/workflows/indexer.yml index b9c1f81a..200ae5bb 100644 --- a/.github/workflows/indexer.yml +++ b/.github/workflows/indexer.yml @@ -17,6 +17,10 @@ jobs: - name: Run test run: cargo test working-directory: apps/indexer + - name: Lowercase repository + run: | + echo "LOWERCASE_REPOSITORY=${GITHUB_REPOSITORY@L}" >> ${GITHUB_ENV} + - name: Setup docker buildx uses: docker/setup-buildx-action@v2 - name: Login to Github Container registry @@ -30,6 +34,6 @@ jobs: with: push: true context: apps/indexer - tags: ghcr.io/${{ github.repository }}:latest + tags: ghcr.io/${{ env.LOWERCASE_REPOSITORY }}:latest build-args: | "GIT_HASH=$GITHUB_SHA" \ No newline at end of file