Skip to content

Commit

Permalink
Build image on main branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes-mk committed Dec 18, 2024
1 parent ef0e04e commit b3defcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
security-events: write # trivy scan needs this

frontend-build-image-and-scan:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit b3defcc

Please sign in to comment.