File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Push binaries to Quay.io, when a new release is created
1+ # Push binaries to Quay.io on pushes to oadp-* branches
22name : Multi-Arch Binary Push to Quay.io
33
44on :
55 push :
6- tags :
7- - ' v *'
6+ branches :
7+ - ' oadp- *'
88 pull_request :
9+ branches :
10+ - ' oadp-*'
911
1012
1113env :
5860 name : Create and Push Multi-Arch Manifest
5961 runs-on : ubuntu-latest
6062 needs : multi-arch-build
61- if : startsWith( github.ref_name, 'v')
63+ if : github.event_name == 'push'
6264 steps :
6365 - name : Download all artifacts
6466 uses : actions/download-artifact@v4
8385 buildah tag $S390X_ID ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-s390x
8486
8587 - name : Create and push multi-arch manifest (version tag)
88+ if : github.ref_name != 'oadp-dev'
8689 run : |
8790 buildah manifest create ${{ env.IMAGE_REPO }}:${{ github.ref_name }}
8891 buildah manifest add ${{ env.IMAGE_REPO }}:${{ github.ref_name }} ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-amd64
9295 buildah manifest push --all ${{ env.IMAGE_REPO }}:${{ github.ref_name }}
9396
9497 - name : Create and push multi-arch manifest (latest tag)
98+ if : github.ref_name == 'oadp-dev'
9599 run : |
96100 buildah manifest create ${{ env.IMAGE_REPO }}:latest
97101 buildah manifest add ${{ env.IMAGE_REPO }}:latest ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-amd64
You can’t perform that action at this time.
0 commit comments