We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11c451 commit 7076e17Copy full SHA for 7076e17
.github/workflows/docker-publish.yml
@@ -29,12 +29,16 @@ jobs:
29
username: ${{ github.actor }}
30
password: ${{ secrets.GITHUB_TOKEN }}
31
32
+ - name: Lowercase repository name
33
+ id: repo
34
+ run: echo "name=${GITHUB_REPOSITORY,,}" >> $GITHUB_OUTPUT
35
+
36
- name: Build and push
37
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
38
with:
39
context: .
40
push: true
41
platforms: linux/amd64,linux/arm64
42
tags: |
- ghcr.io/${{ github.repository }}:latest
- ghcr.io/${{ github.repository }}:${{ github.ref_name }}
43
+ ghcr.io/${{ steps.repo.outputs.name }}:latest
44
+ ghcr.io/${{ steps.repo.outputs.name }}:${{ github.ref_name }}
0 commit comments