Skip to content

Commit

Permalink
full validation deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
james-jdgtl committed Oct 14, 2024
1 parent b64313d commit 8cd8cd0
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,24 @@ jobs:
name: Validate the kotlin
uses: ministryofjustice/hmpps-github-actions/.github/workflows/kotlin_validate.yml@main
secrets: inherit
create_app_version:
name: Create app version
needs:
- kotlin_validate
uses: ministryofjustice/hmpps-github-actions/.github/workflows/create_app_version.yml@main
build:
name: Build docker image from hmpps-github-actions
uses: ministryofjustice/hmpps-github-actions/.github/workflows/docker_build.yml@main
needs:
- kotlin_validate
needs:
- create_app_version
with:
docker_registry: ${{ inputs.docker_registry || 'ghcr.io' }}
registry_org: ${{ inputs.registry_org || 'ministryofjustice' }}
additional_docker_tag: ${{ inputs.additional_docker_tag }}
push: ${{ inputs.push || true }}
docker_multiplatform: ${{ inputs.docker_multiplatform || true }}
create_app_version:
name: Create app version
needs:
- build
uses: ministryofjustice/hmpps-github-actions/.github/workflows/create_app_version.yml@main
app_version: ${{ needs.create_app_version.outputs.version }}

dev-approval-gate:
needs: [kotlin_validate,build,helm_lint]
environment: dev
Expand Down

0 comments on commit 8cd8cd0

Please sign in to comment.