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 b488baf commit cc37b2bCopy full SHA for cc37b2b
1 file changed
.github/workflows/publish.yml
@@ -36,6 +36,9 @@ jobs:
36
registry: ghcr.io
37
username: ${{ github.actor }}
38
password: ${{ secrets.GITHUB_TOKEN }}
39
+
40
+ - name: Set lowercase image name
41
+ run: echo "IMAGE_NAME=ghcr.io/${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
42
43
- name: Build and push Docker image
44
uses: docker/build-push-action@v5
@@ -45,8 +48,8 @@ jobs:
45
48
platforms: ${{ matrix.platform }}
46
49
push: true
47
50
tags: |
- ghcr.io/${{ github.repository_owner }}/beaver-notes:latest
- ghcr.io/${{ github.repository_owner }}/beaver-notes:${{ github.sha }}
51
+ ${{ env.IMAGE_NAME }}:latest
52
+ ${{ env.IMAGE_NAME }}:${{ github.sha }}
53
labels: |
54
org.opencontainers.image.source=${{ github.repository }}
55
org.opencontainers.image.description="Beaver Notes Dockerized"
0 commit comments