Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,15 @@ jobs:
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- run: docker pull ${{ steps.meta.outputs.tags }}
- run: docker tag ${{ steps.meta.outputs.tags }} ghcr.io/${{ steps.meta.outputs.tags }}
- run: docker push ghcr.io/${{ steps.meta.outputs.tags }}
# TEMP fix
# Something strange is happening with the manifests when we push which
# breaks the downstream multi-arch-manifest, so pull and push to work
# around this by resubmitting manifests
- name: pull-and-push
run: |
for t in `echo '${{ steps.meta.outputs.tags }}'`; do
docker pull $t && docker push $t
done

build-arm64:
runs-on: self-hosted
Expand Down Expand Up @@ -128,9 +134,15 @@ jobs:
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- run: docker pull ${{ steps.meta.outputs.tags }}
- run: docker tag ${{ steps.meta.outputs.tags }} ghcr.io/${{ steps.meta.outputs.tags }}
- run: docker push ghcr.io/${{ steps.meta.outputs.tags }}
# TEMP fix
# Something strange is happening with the manifests when we push which
# breaks the downstream multi-arch-manifest, so pull and push to work
# around this by resubmitting manifests
- name: pull-and-push
run: |
for t in `echo '${{ steps.meta.outputs.tags }}'`; do
docker pull $t && docker push $t
done

multi-arch-manifest:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -160,6 +172,8 @@ jobs:
flavor: |
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
# branch
type=ref,event=branch
# semver
Expand All @@ -183,6 +197,8 @@ jobs:
flavor: |
latest=false
tags: |
# Only version, no revision
type=match,pattern=v(.*)-(.*),group=1
# branch
type=ref,event=branch
# semver
Expand Down