We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2132ab0 commit 25e389cCopy full SHA for 25e389c
.github/workflows/docker-publish.yml
@@ -2,7 +2,7 @@ name: Build and Publish Docker Image (GHCR)
2
3
on:
4
push:
5
- branches: ["main"]
+ branches: ["main", "next"]
6
workflow_dispatch:
7
8
permissions:
@@ -41,7 +41,8 @@ jobs:
41
with:
42
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
43
tags: |
44
- type=raw,value=latest
+ type=ref,event=branch
45
+ type=raw,value=latest,enable={{is_default_branch}}
46
type=sha,format=short
47
48
- name: Build and push
0 commit comments