Skip to content

Commit

Permalink
Only trigger the build and publish images workflow manually
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-alvarez-alvarez committed May 9, 2024
1 parent d0025e4 commit 4a41a1b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: "Build"
on:
push:
branches:
- main
workflow_dispatch:

jobs:
build_push_and_check:
name: Build docker image, publish it and run vuln scanner against it
name: Build and publish docker images
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
Expand Down

0 comments on commit 4a41a1b

Please sign in to comment.