We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a8b383 commit 0ad4e53Copy full SHA for 0ad4e53
.github/workflows/build.yml
@@ -3,6 +3,7 @@ name: Build replicate
3
on:
4
push:
5
branches: [main, dev, test]
6
+ tags: ['v*']
7
workflow_dispatch:
8
9
permissions:
@@ -27,7 +28,8 @@ jobs:
27
28
images: ghcr.io/hanzoai/replicate
29
tags: |
30
type=ref,event=branch
- type=sha
31
+ type=semver,pattern={{version}}
32
+ type=semver,pattern={{major}}.{{minor}}
33
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
34
- uses: docker/build-push-action@v6
35
with:
0 commit comments