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 e0e7001 commit 729bd2bCopy full SHA for 729bd2b
.github/workflows/docker-publish.yml
@@ -2,12 +2,7 @@ name: Docker Build and Push
2
3
on:
4
push:
5
- branches: ["**"]
6
- pull_request:
7
8
- # Uncomment below to only run on tags (releases)
9
- # push:
10
- # tags: ["v*"]
+ tags: ["v*"]
11
12
permissions:
13
contents: read
@@ -33,4 +28,6 @@ jobs:
33
28
with:
34
29
context: .
35
30
push: true
36
- tags: ghcr.io/${{ github.repository }}:latest
31
+ tags: |
32
+ ghcr.io/${{ github.repository }}:latest
+ ghcr.io/${{ github.repository }}:${{ github.ref_name }}
0 commit comments