Skip to content

Commit

Permalink
feat: publish image only from main
Browse files Browse the repository at this point in the history
  • Loading branch information
anaik91 committed Feb 4, 2025
1 parent e1a6d75 commit 50dffb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
id-token: write
contents: write # needed to publish sbom
packages: write
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 50dffb6

Please sign in to comment.