Skip to content
name: 'Publish image to GHCR on push to branch'
on:
push:
branches-ignore:
- 'main'
concurrency:
group: schulportal-load-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
build_and_push_image:
permissions:
packages: write
security-events: write
contents: read
uses: dBildungsplattform/dbp-github-workflows/.github/workflows/[email protected]
with:
image_name: "schulportal-load-tests"
run_trivy_scan: true
image_tag_generation: "ticket_from_branch"
add_latest_tag: false
container_registry: "ghcr.io"