SPSH-1158-test-loadtest-drivers-gha-fix #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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]+' | |
concurrency: | |
group: dbildungs-iam-keycloak-image-helm-chart | |
cancel-in-progress: true | |
jobs: | |
# GHRC Image | |
codeql_analyze: | |
name: "CodeQL" | |
uses: dBildungsplattform/dbp-github-workflows/.github/workflows/check-codeql.yaml@5 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
release_image: | |
name: "Publish image and scan with trivy" | |
needs: codeql_analyze | |
permissions: | |
packages: write | |
security-events: write | |
contents: read | |
uses: dBildungsplattform/dbp-github-workflows/.github/workflows/image-publish-trivy.yaml@7 | |
with: | |
image_name: "dbildungs-iam-keycloak" | |
run_trivy_scan: true | |
image_tag_generation: version_git_tag | |
container_registry: "ghcr.io" | |
fail_on_vulnerabilites: false | |
report_location: "Dockerfile" | |
target: "deployment" | |
# Helm Chart | |
scan_helm: | |
uses: dBildungsplattform/dbp-github-workflows/.github/workflows/check-helm-kics.yaml@5 | |
permissions: | |
contents: read | |
release_helm: | |
needs: scan_helm | |
uses: dBildungsplattform/dbp-github-workflows/.github/workflows/chart-release.yaml@7 | |
secrets: inherit | |
with: | |
chart_name: "dbildungs-iam-keycloak" | |
helm_chart_version_generation: specified | |
image_tag_generation: specified | |
helm_chart_version: "${{ github.ref_name }}" | |
image_tag: "${{ github.ref_name }}" |