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
12 changes: 8 additions & 4 deletions .github/workflows/quay_binaries_push.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Push binaries to Quay.io, when a new release is created
# Push binaries to Quay.io on pushes to oadp-* branches
name: Multi-Arch Binary Push to Quay.io

on:
push:
tags:
- 'v*'
branches:
- 'oadp-*'
pull_request:
branches:
- 'oadp-*'


env:
Expand Down Expand Up @@ -58,7 +60,7 @@ jobs:
name: Create and Push Multi-Arch Manifest
runs-on: ubuntu-latest
needs: multi-arch-build
if: startsWith(github.ref_name, 'v')
if: github.event_name == 'push'
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
Expand All @@ -83,6 +85,7 @@ jobs:
buildah tag $S390X_ID ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-s390x

- name: Create and push multi-arch manifest (version tag)
if: github.ref_name != 'oadp-dev'
run: |
buildah manifest create ${{ env.IMAGE_REPO }}:${{ github.ref_name }}
buildah manifest add ${{ env.IMAGE_REPO }}:${{ github.ref_name }} ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-amd64
Expand All @@ -92,6 +95,7 @@ jobs:
buildah manifest push --all ${{ env.IMAGE_REPO }}:${{ github.ref_name }}

- name: Create and push multi-arch manifest (latest tag)
if: github.ref_name == 'oadp-dev'
run: |
buildah manifest create ${{ env.IMAGE_REPO }}:latest
buildah manifest add ${{ env.IMAGE_REPO }}:latest ${{ env.IMAGE_REPO }}:${{ github.ref_name }}-amd64
Expand Down
Loading