Skip to content

Commit

Permalink
CI: docker tag must be lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
ptisserand committed Mar 28, 2024
1 parent c04c982 commit 3889df3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/indexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

0 comments on commit 3889df3

Please sign in to comment.