diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 000000000..4273dced2 --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,25 @@ +# 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-server-image-helm-chart + cancel-in-progress: true + +jobs: + release_image_and_helm_chart: + name: "Release image and Helm Chart" + secrets: inherit + permissions: + packages: write + security-events: write + contents: read + actions: read + uses: dBildungsplattform/dbp-github-workflows/.github/workflows/release-image-and-helm-chart.yaml@5 + with: + release_tag: ${{ github.ref_name }} + image_name: "dbildungs-iam-server" + helm_chart_name: "dbildungs-iam-server" diff --git a/.github/workflows/image-and-helm-publish-check-deploy-on-push-scheduled.yml b/.github/workflows/image-and-helm-publish-check-deploy-on-push-scheduled.yml index 0f4e4f1a4..99026c0fc 100644 --- a/.github/workflows/image-and-helm-publish-check-deploy-on-push-scheduled.yml +++ b/.github/workflows/image-and-helm-publish-check-deploy-on-push-scheduled.yml @@ -5,6 +5,8 @@ name: "Dev Pipeline" # See DBP-340 on: push: + branches: + - "*" schedule: - cron: '0 2 * * *' delete: