From f3b90af2e0d20d4d0f7e95d963caec5ea1bba7ba Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sat, 10 Dec 2022 00:00:06 +0000 Subject: [PATCH] Push from version branches (#208) --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7e94e0e6..d0b6deb3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -129,7 +129,7 @@ jobs: - name: Login to quay.io uses: docker/login-action@v2 - if: ${{ startsWith(github.ref, 'refs/heads/main') }} + if: ${{ startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/heads/v') }} with: registry: ${{ env.REGISTRY }} username: ${{ secrets.QUAY_USERNAME }} @@ -142,6 +142,6 @@ jobs: with: context: ./ cache-from: type=registry,ref=${{ env.IMAGE }}:latest - push: ${{ startsWith(github.ref, 'refs/heads/main') }} + push: ${{ startsWith(github.ref, 'refs/heads/main') || startsWith(github.ref, 'refs/heads/v') }} tags: ${{ steps.meta.outputs.tags }} platforms: linux/amd64,linux/arm64