We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7984aa4 commit a293299Copy full SHA for a293299
.github/workflows/publish.yml
@@ -21,10 +21,13 @@ jobs:
21
username: ${{ github.actor }}
22
password: ${{ secrets.GITHUB_TOKEN }}
23
24
+ - name: Lowercase and set image tag
25
+ run: echo "IMAGE_TAG=ghcr.io/$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]'):latest" >> $GITHUB_ENV
26
+
27
- name: Build and push Docker image
28
uses: docker/build-push-action@v4
29
with:
30
context: .
31
push: true
32
tags: |
- ghcr.io/${{ github.repository }}:latest
33
+ ${{ env.IMAGE_TAG }}
0 commit comments