Skip to content

Commit

Permalink
ci: fix push condition for sidecar image
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Howard <jacob@mutagen.io>
  • Loading branch information
xenoscopic committed Oct 22, 2024
1 parent 9cb311b commit 8bb0d46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
if: github.ref_type == 'tag' && github.action_repository == 'mutagen-io/mutagen'
if: github.ref_type == 'tag' && github.repository == 'mutagen-io/mutagen'
with:
username: ${{ secrets.SIDECAR_DEPLOYMENT_USER }}
password: ${{ secrets.SIDECAR_DEPLOYMENT_TOKEN }}
Expand All @@ -143,7 +143,7 @@ jobs:
file: images/sidecar/linux/Dockerfile
target: mit
tags: ${{ steps.tag.outputs.tag }}
push: ${{ github.ref_type == 'tag' && github.action_repository == 'mutagen-io/mutagen' }}
push: ${{ github.ref_type == 'tag' && github.repository == 'mutagen-io/mutagen' }}
platforms: |
linux/386
linux/amd64
Expand All @@ -156,7 +156,7 @@ jobs:
file: images/sidecar/linux/Dockerfile
target: sspl
tags: ${{ steps.tag.outputs.tag }}-sspl
push: ${{ github.ref_type == 'tag' && github.action_repository == 'mutagen-io/mutagen' }}
push: ${{ github.ref_type == 'tag' && github.repository == 'mutagen-io/mutagen' }}
platforms: |
linux/386
linux/amd64
Expand Down

0 comments on commit 8bb0d46

Please sign in to comment.