Skip to content

Commit 2ec05d6

Browse files
committed
TOOLS-1: Fix build of Docker image
1 parent fa4aa51 commit 2ec05d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@ jobs:
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030

31+
- name: Lowercase repository name
32+
id: repository_name
33+
uses: ASzc/change-string-case-action@v1
34+
with:
35+
string: ${{ github.repository }}
36+
3137
- name: Build & Push image
3238
uses: docker/build-push-action@v2
3339
with:
3440
context: .
3541
push: true
3642
tags: |
37-
ghcr.io/${{ github.repository.lower }}:${{ github.base_ref }}
43+
ghcr.io/${{ steps.repository_name.outputs.lowercase }}:${{ github.base_ref }}

0 commit comments

Comments
 (0)