Skip to content

Commit

Permalink
Added release action
Browse files Browse the repository at this point in the history
  • Loading branch information
dimapin committed Sep 2, 2024
1 parent 9f35260 commit bbff832
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Push image to GHCR and Helm Chart to helm-charts-registry
name: Release Image and Helm Chart
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+-[0-9]+'
jobs:

release_image:
name: "Publish image and scan with trivy"
permissions:
packages: write
security-events: write
contents: read
uses: dBildungsplattform/dbp-github-workflows/.github/workflows/image-publish-trivy.yaml@7
with:
image_name: "clammit"
run_trivy_scan: true
image_tag_generation: version_git_tag
container_registry: "ghcr.io"
fail_on_vulnerabilites: false
report_location: "Dockerfile"

0 comments on commit bbff832

Please sign in to comment.