Skip to content

Commit

Permalink
ci: Build on the right branches
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyo committed Nov 28, 2023
1 parent 08b6a3b commit 4bfa155
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
push:
branches:
- main
- master
- test/**
- build/**

Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
with:
context: .
platforms: "${{ matrix.arch }}"
push: ${{ github.ref == 'refs/heads/main' }}
push: ${{ github.ref == 'refs/heads/master' }}
tags: |
getsentry/sentry-kubernetes:latest
getsentry/sentry-kubernetes:${{ github.sha }}
Expand Down

0 comments on commit 4bfa155

Please sign in to comment.