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 15, 2024
1 parent e1e187c commit 9a424af
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ jobs:
- name: create_app_version
id: create_app_version
uses: ministryofjustice/hmpps-github-actions/.github/actions/create_app_version@move_create_app_version_in_action
- name: display variable
- name: display version number
id: version
run: |
echo "${{ steps.create_app_version.outputs.output_version }}"
echo "version=${{ steps.create_app_version.outputs.output_version }}" >> "$GITHUB_OUTPUT"
docker_build:
name: Build docker image from hmpps-github-actions
Expand All @@ -73,7 +74,7 @@ jobs:
additional_docker_tag: ${{ inputs.additional_docker_tag }}
push: ${{ inputs.push || true }}
docker_multiplatform: ${{ inputs.docker_multiplatform || false }}
app_version: ${{ needs.create_app_version.outputs.output_version }}
app_version: ${{ needs.create_app_version.outputs.version }}

deploy_env:
name: Deploy
Expand All @@ -84,4 +85,4 @@ jobs:
secrets: inherit
with:
environment: 'dev'
app_version: '${{ needs.create_app_version.outputs.output_version }}'
app_version: '${{ needs.create_app_version.outputs.version }}'

0 comments on commit 9a424af

Please sign in to comment.