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 11, 2024
1 parent 6b08816 commit 573b606
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build-test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,22 @@ 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
Expand Down

0 comments on commit 573b606

Please sign in to comment.