Skip to content

Commit 5d66e7b

Browse files
authored
Merge pull request #39 from cloudstruct/ci/fix-multi-arch-manifest
ci: fix multi-arch-manifest w/ a workaround
2 parents aab3578 + c7aad63 commit 5d66e7b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ jobs:
6969
run: |
7070
rm -rf /tmp/.buildx-cache
7171
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
72+
# TEMP fix
73+
# Something strange is happening with the manifests when we push which
74+
# breaks the downstream multi-arch-manifest, so pull and push to work
75+
# around this by resubmitting manifests
76+
- name: pull-and-push
77+
run: |
78+
for t in `echo '${{ steps.meta.outputs.tags }}'`; do
79+
docker pull $t && docker push $t
80+
done
7281
7382
build-arm64:
7483
runs-on: self-hosted
@@ -127,6 +136,15 @@ jobs:
127136
run: |
128137
rm -rf /tmp/.buildx-cache
129138
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
139+
# TEMP fix
140+
# Something strange is happening with the manifests when we push which
141+
# breaks the downstream multi-arch-manifest, so pull and push to work
142+
# around this by resubmitting manifests
143+
- name: pull-and-push
144+
run: |
145+
for t in `echo '${{ steps.meta.outputs.tags }}'`; do
146+
docker pull $t && docker push $t
147+
done
130148
131149
multi-arch-manifest:
132150
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)