Skip to content

Commit 0252d60

Browse files
authored
ci: updete makefile (#34)
* ci: updete `makefile` * ci: remove `docker` vulnerability scanner
1 parent 48bc20d commit 0252d60

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

.github/workflows/docker-publish.yml

-19
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
# This is used to complete the identity challenge
2525
# with sigstore/fulcio when running outside of PRs.
2626
id-token: write
27-
# To upload sarif files.
28-
security-events: write
29-
3027
steps:
3128
- name: Checkout repository
3229
uses: actions/checkout@v4
@@ -82,19 +79,3 @@ jobs:
8279
# This step uses the identity token to provision an ephemeral certificate
8380
# against the sigstore community Fulcio instance.
8481
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
85-
86-
# Analyze vulnerabilities.
87-
- name: Run Trivy vulnerability scanner
88-
if: ${{ github.event_name != 'pull_request' }}
89-
uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # v0.12.0
90-
with:
91-
image-ref: ${{ steps.meta.outputs.tags }}
92-
format: "sarif"
93-
output: "trivy-results.sarif"
94-
95-
# Upload report to GitHub code scanning.
96-
- name: Upload Trivy scan results to GitHub Security tab
97-
if: ${{ github.event_name != 'pull_request' }}
98-
uses: github/codeql-action/upload-sarif@v2
99-
with:
100-
sarif_file: "trivy-results.sarif"

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
default: build
2+
13
run_app:
24
go run cmd/deadnews-template-go/main.go
35

0 commit comments

Comments
 (0)