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