From 4362944c6ed256678f8ba00c38b0952f82176223 Mon Sep 17 00:00:00 2001 From: Joseph Date: Mon, 27 Oct 2025 05:36:09 -0400 Subject: [PATCH 1/2] Change runner to ubi9 Signed-off-by: Joseph --- Dockerfile.download | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.download b/Dockerfile.download index 0a645c46..2040c5c0 100644 --- a/Dockerfile.download +++ b/Dockerfile.download @@ -23,7 +23,7 @@ RUN make release-build && \ rm -rf /root/.cache/go-build && \ rm -rf /go/pkg -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest +FROM registry.access.redhat.com/ubi9/ubi-minimal:latest # Only copy compressed tarballs (much smaller than raw binaries) COPY --from=builder /archives /archives From 22533df580aa7dad0acd675f3091006b33c8d47e Mon Sep 17 00:00:00 2001 From: Joseph Date: Mon, 27 Oct 2025 05:54:12 -0400 Subject: [PATCH 2/2] Add quay.io push on new release Signed-off-by: Joseph --- .github/workflows/quay_binaries_push.yml | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/quay_binaries_push.yml diff --git a/.github/workflows/quay_binaries_push.yml b/.github/workflows/quay_binaries_push.yml new file mode 100644 index 00000000..37379008 --- /dev/null +++ b/.github/workflows/quay_binaries_push.yml @@ -0,0 +1,30 @@ +# Push binaries to Quay.io, when a new release is created +name: oadp-cli binaries image push + +on: + push: + tags: + - 'v*' + +# Check out code, podman login, run podman build, push to +jobs: + push-binaries: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Podman login + run: podman login -u ${{ secrets.QUAY_USER }} -p ${{ secrets.QUAY_TOKEN }} quay.io + + - name: Podman build and tag + run: | + podman build -f Dockerfile.download \ + -t quay.io/konveyor/oadp-cli-binaries:${{ github.ref_name }} \ + -t quay.io/konveyor/oadp-cli-binaries:latest . + + - name: Podman push version tag + run: podman push quay.io/konveyor/oadp-cli-binaries:${{ github.ref_name }} + + - name: Podman push latest tag + run: podman push quay.io/konveyor/oadp-cli-binaries:latest \ No newline at end of file