We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bedc14 commit cd0ede0Copy full SHA for cd0ede0
1 file changed
.github/workflows/publish.yml
@@ -29,6 +29,9 @@ jobs:
29
-
30
name: Set tag name in environment
31
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
32
+ -
33
+ name: Set lowercase repository in environment
34
+ run: echo "REPOSITORY_LOWERCASE=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
35
36
name: Build and push
37
uses: docker/build-push-action@v2
@@ -37,5 +40,5 @@ jobs:
40
platforms: linux/amd64,linux/arm64
38
41
push: true
39
42
tags: |
- ghcr.io/${{ github.repository }}:latest
- ghcr.io/${{ github.repository }}:${{ env.RELEASE_VERSION }}
43
+ ghcr.io/${{ env.REPOSITORY_LOWERCASE }}:latest
44
+ ghcr.io/${{ env.REPOSITORY_LOWERCASE }}:${{ env.RELEASE_VERSION }}
0 commit comments