68
68
run : |
69
69
rm -rf /tmp/.buildx-cache
70
70
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
71
- - run : docker pull ${{ steps.meta.outputs.tags }}
72
- - run : docker tag ${{ steps.meta.outputs.tags }} ghcr.io/${{ steps.meta.outputs.tags }}
73
- - run : docker push ghcr.io/${{ steps.meta.outputs.tags }}
71
+ # TEMP fix
72
+ # Something strange is happening with the manifests when we push which
73
+ # breaks the downstream multi-arch-manifest, so pull and push to work
74
+ # around this by resubmitting manifests
75
+ - name : pull-and-push
76
+ run : |
77
+ for t in `echo '${{ steps.meta.outputs.tags }}'`; do
78
+ docker pull $t && docker push $t
79
+ done
74
80
75
81
build-arm64 :
76
82
runs-on : self-hosted
@@ -128,9 +134,15 @@ jobs:
128
134
run : |
129
135
rm -rf /tmp/.buildx-cache
130
136
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
131
- - run : docker pull ${{ steps.meta.outputs.tags }}
132
- - run : docker tag ${{ steps.meta.outputs.tags }} ghcr.io/${{ steps.meta.outputs.tags }}
133
- - run : docker push ghcr.io/${{ steps.meta.outputs.tags }}
137
+ # TEMP fix
138
+ # Something strange is happening with the manifests when we push which
139
+ # breaks the downstream multi-arch-manifest, so pull and push to work
140
+ # around this by resubmitting manifests
141
+ - name : pull-and-push
142
+ run : |
143
+ for t in `echo '${{ steps.meta.outputs.tags }}'`; do
144
+ docker pull $t && docker push $t
145
+ done
134
146
135
147
multi-arch-manifest :
136
148
runs-on : ubuntu-latest
@@ -160,6 +172,8 @@ jobs:
160
172
flavor : |
161
173
latest=false
162
174
tags : |
175
+ # Only version, no revision
176
+ type=match,pattern=v(.*)-(.*),group=1
163
177
# branch
164
178
type=ref,event=branch
165
179
# semver
@@ -183,6 +197,8 @@ jobs:
183
197
flavor : |
184
198
latest=false
185
199
tags : |
200
+ # Only version, no revision
201
+ type=match,pattern=v(.*)-(.*),group=1
186
202
# branch
187
203
type=ref,event=branch
188
204
# semver
0 commit comments