refactor: Move common properties to default profile, clean up profile… #187
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
name: CI Workflow | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
types: [] # Empty list ensures PRs are not triggered. Trigger nytt bygg. | |
jobs: | |
build-install-and-deploy-libs: | |
uses: felleslosninger/github-workflows/.github/workflows/ci-maven-install-deploy-lib.yml@efm-tilpasninger-2 | |
with: | |
java-version: 11 | |
sbom-path: serviceregistry-server/target/ | |
secrets: inherit | |
call-workflow-image-build-publish: | |
uses: felleslosninger/github-workflows/.github/workflows/ci-spring-boot-build-publish-image.yml@main | |
needs: [build-install-and-deploy-libs] | |
with: | |
application-path: serviceregistry-server/ | |
image-name: efm-service-registry | |
java-version: 11 | |
slack-channel-id: C05NLQCFR41 | |
update-versions: "false" | |
secrets: inherit | |
call-update-image: | |
needs: [call-workflow-image-build-publish] | |
uses: felleslosninger/github-workflows/.github/workflows/ci-call-update-image.yml@main | |
with: | |
application-name: efm-service-registry | |
deployment-environment: dev | |
image-digest: ${{ needs.call-workflow-image-build-publish.outputs.image-digest }} | |
image-name: efm-service-registry | |
image-version: ${{ needs.call-workflow-image-build-publish.outputs.image-version }} | |
kubernetes-repo: eformidling-cd | |
product-name: eformidling | |
secrets: inherit |