We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa4aa51 commit 2ec05d6Copy full SHA for 2ec05d6
.github/workflows/build.yml
@@ -28,10 +28,16 @@ jobs:
28
username: ${{ github.actor }}
29
password: ${{ secrets.GITHUB_TOKEN }}
30
31
+ - name: Lowercase repository name
32
+ id: repository_name
33
+ uses: ASzc/change-string-case-action@v1
34
+ with:
35
+ string: ${{ github.repository }}
36
+
37
- name: Build & Push image
38
uses: docker/build-push-action@v2
39
with:
40
context: .
41
push: true
42
tags: |
- ghcr.io/${{ github.repository.lower }}:${{ github.base_ref }}
43
+ ghcr.io/${{ steps.repository_name.outputs.lowercase }}:${{ github.base_ref }}
0 commit comments