Use letset tag, when not a release
This commit is contained in:
1
.github/workflows/publish-docker.yml
vendored
1
.github/workflows/publish-docker.yml
vendored
@@ -38,6 +38,7 @@ jobs:
|
|||||||
ghcr.io/${{ env.GH_IMAGE }}
|
ghcr.io/${{ env.GH_IMAGE }}
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=tag,prefix=release-,suffix={{tag}}
|
type=ref,event=tag,prefix=release-,suffix={{tag}}
|
||||||
|
type=ref,event=branch,branch=main
|
||||||
labels: |
|
labels: |
|
||||||
maintainer=Lissy93
|
maintainer=Lissy93
|
||||||
org.opencontainers.image.title=Portainer-Templates
|
org.opencontainers.image.title=Portainer-Templates
|
||||||
|
|||||||
Reference in New Issue
Block a user