Skip to content

Commit

Permalink
only push image to ghcr from main
Browse files Browse the repository at this point in the history
  • Loading branch information
kenglxn committed Oct 28, 2024
1 parent ff56b5a commit a0493d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/fake_produsent_api_build_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
PRINT_PAYLOAD: true

ghcr_push:
if: github.ref == 'refs/heads/main'
permissions:
packages: write
contents: read
Expand Down

0 comments on commit a0493d9

Please sign in to comment.