Refine build condition in Docker workflow to trigger only on 'dev' branch

This commit is contained in:
Sudo-Ivan committed 2026-03-09 15:28:08 -05:00
1 parent 875f05d2eb
commit 17bcedcf87
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ jobs:
trivy image --exit-code 0 "$IMAGE_TAG"
build-dev:
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
permissions:
contents: read