Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Update build-test-and-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandhya1874 authored Oct 10, 2024
1 parent c488b81 commit c8fe239
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build-test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,29 +50,29 @@ permissions:

jobs:

create_app_version:
name: Create app version
uses: ministryofjustice/hmpps-github-actions/.github/workflows/create_app_version.yml@feat/HEAT-344-create-deploy_env_workflow
# create_app_version:
# name: Create app version
# uses: ministryofjustice/hmpps-github-actions/.github/workflows/create_app_version.yml@feat/HEAT-344-create-deploy_env_workflow

docker_build:
name: Build docker image from hmpps-github-actions
needs: [ create_app_version ]
uses: ministryofjustice/hmpps-github-actions/.github/workflows/docker_build.yml@feat/HEAT-344-create-deploy_env_workflow
secrets: inherit
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 || false }}
app_version: ${{ needs.create_app_version.outputs.version }}
# docker_build:
# name: Build docker image from hmpps-github-actions
# needs: [ create_app_version ]
# uses: ministryofjustice/hmpps-github-actions/.github/workflows/docker_build.yml@feat/HEAT-344-create-deploy_env_workflow
# secrets: inherit
# 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 || false }}
# app_version: ${{ needs.create_app_version.outputs.version }}

deploy_env:
name: Deploy
needs: [ docker_build ]
# needs: [ docker_build ]
uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@feat/HEAT-344-create-deploy_env_workflow
secrets: inherit
with:
environment: 'development'
channel_id: 'NO_SLACK'
app_version: ${{ needs.create_app_version.outputs.version }}
app_version: 'latest'

0 comments on commit c8fe239

Please sign in to comment.