Skip to content

Commit a293299

Browse files
committed
fix
1 parent 7984aa4 commit a293299

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ jobs:
2121
username: ${{ github.actor }}
2222
password: ${{ secrets.GITHUB_TOKEN }}
2323

24+
- name: Lowercase and set image tag
25+
run: echo "IMAGE_TAG=ghcr.io/$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]'):latest" >> $GITHUB_ENV
26+
2427
- name: Build and push Docker image
2528
uses: docker/build-push-action@v4
2629
with:
2730
context: .
2831
push: true
2932
tags: |
30-
ghcr.io/${{ github.repository }}:latest
33+
${{ env.IMAGE_TAG }}

0 commit comments

Comments
 (0)