We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab36762 commit 9d61af8Copy full SHA for 9d61af8
1 file changed
.github/workflows/publish.yml
@@ -46,14 +46,8 @@ jobs:
46
with:
47
images: ghcr.io/${{ github.repository }}-${{ matrix.name }}
48
tags: |
49
- # For tags like v1.0, create tag '1.0'
50
- type=semver,pattern={{version}}
51
- # For tags like v1.0, create tag '1'
52
- type=semver,pattern={{major}}
53
- # For main branch, create tag 'latest'
54
- type=raw,value=latest,enable={{is_default_branch}}
55
- # For PRs, create tag 'pr-123'
56
- type=ref,event=pr
+ # For branch pushes, create tag with branch name (e.g., 'agentbeats-green_agent')
+ type=ref,event=branch
57
58
- name: Build and push Docker image (${{ matrix.name }})
59
id: build
0 commit comments