Skip to content

Commit

Permalink
fix rules on workflows...
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda committed Jan 10, 2024
1 parent 4cc31a6 commit b5c1e94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ jobs:
${{ runner.os }}-buildx-
- name: Login to Quay
if: needs.prebuild.outputs.version != ''
if: ${{ github.ref_name == github.event.repository.default_branch }}
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GitHub Container Registry
if: needs.prebuild.outputs.version != ''
if: ${{ github.ref_name == github.event.repository.default_branch }}
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand All @@ -87,6 +87,6 @@ jobs:
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./dapr-distributed-calendar/${{ matrix.container }}/
push: ${{ github.event_name != 'pull_request' && needs.prebuild.outputs.version != '' }}
push: ${{ github.ref_name == github.event.repository.default_branch }}
tags: ${{ steps.prep.outputs.tags }}
platforms: ${{ env.platforms }}

0 comments on commit b5c1e94

Please sign in to comment.