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 89
89
if : github.event_name != 'pull_request'
90
90
uses : actions/upload-artifact@v4
91
91
with :
92
- name : digests-${{ matrix.variance.image }}-${{ matrix.platform.arch }}
92
+ name : digests-${{ replace( matrix.variance.image, '/', '-') }}-${{ matrix.platform.arch }}
93
93
path : /tmp/digests/*
94
94
if-no-files-found : error
95
95
retention-days : 1
@@ -121,7 +121,7 @@ jobs:
121
121
uses : actions/download-artifact@v4
122
122
with :
123
123
path : /tmp/digests
124
- pattern : digests-${{ matrix.variance.image }}-*
124
+ pattern : digests-${{ replace( matrix.variance.image, '/', '-') }}-*
125
125
merge-multiple : true
126
126
- name : Set up Docker Buildx
127
127
uses : docker/setup-buildx-action@v3
@@ -132,8 +132,12 @@ jobs:
132
132
images : ${{ env.REGISTRY }}/${{ matrix.variance.image }}
133
133
tags : |
134
134
type=ref,event=branch
135
+ type=ref,event=pr
136
+ type=semver,pattern={{version}}
137
+ type=semver,pattern={{major}}.{{minor}}
138
+ type=semver,pattern={{major}}
135
139
type=sha,format=short
136
- type=raw,value=latest
140
+ type=raw,value=latest,enable={{is_default_branch}}
137
141
- name : Login to Registry
138
142
uses : docker/login-action@v3
139
143
with :
You can’t perform that action at this time.
0 commit comments