From 78caa05362e08aa42afd6098477e240bbfd78c4d Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo <71768+gionn@users.noreply.github.com> Date: Thu, 28 Mar 2024 09:24:44 +0100 Subject: [PATCH] OPSEXP-2149 Fixup release workflow (#155) --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1230bb3..cdfc7a3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,7 @@ jobs: runs-on: ubuntu-latest needs: pre-commit strategy: + fail-fast: ${{ github.ref_name == 'master' && false || true }} matrix: base_image: - flavor: centos @@ -138,5 +139,4 @@ jobs: SRC_IMAGE: quay.io/${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }} DST_IMAGE: ${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }} run: | - docker tag ${{ env.SRC_IMAGE }} ${{ env.DST_IMAGE }} - docker push ${{ env.DST_IMAGE }} + docker buildx imagetools create ${{ env.SRC_IMAGE }} -t ${{ env.DST_IMAGE }}