File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ name: Publish container image
22
33on :
44 workflow_dispatch :
5+ push :
6+ paths :
7+ - .github/workflows/build-image.yaml
8+ - Dockerfile*
59 release :
610 types :
711 - created
5155 type=ref,event=branch
5256 type=ref,event=pr
5357 type=sha
54- type=raw,value=latest,enable={{is_default_branch }}
55- type=raw,value={{ github.ref_name}},enable={{ github.ref_type == 'tag'}}
56- type=raw,value=nightly,enable={{ github.event_name == 'schedule'}}
58+ type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
59+ type=raw,value=${{ github.ref_name }},enable=${{ github.ref_type == 'tag' }}
60+ type=raw,value=nightly,enable=${{ github.event_name == 'schedule' }}
5761
5862 - name : Build and Push release
5963 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
You can’t perform that action at this time.
0 commit comments