Skip to content

Commit

Permalink
Push from version branches (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored and chrisdoherty4 committed Dec 10, 2022
1 parent 0b02fda commit f3b90af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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

0 comments on commit f3b90af

Please sign in to comment.