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

Commit

Permalink
Pull image_location from paketo_build step
Browse files Browse the repository at this point in the history
communitiesuk/funding-service-design-workflows#215
started to output the paketo image URI, so we can now reuse that rather
than passing fragments into the deploy steps which are used to rebuild
the image URI manually. This will reduce problems with the image URI
potentially going out of sync, and allow it to be used for eg database
migrations.
  • Loading branch information
samuelhwilliams committed Dec 5, 2024
1 parent 015aa28 commit 6058850
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/copilot_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
with:
environment: dev
app_name: assessment
version: sha-${{ github.sha }}
image_location: ${{ needs.paketo_build.outputs.image_location }}

post_dev_deploy_tests:
needs: dev_deploy
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
with:
environment: test
app_name: assessment
version: sha-${{ github.sha }}
image_location: ${{ needs.paketo_build.outputs.image_location }}

post_test_deploy_tests:
needs: test_deploy
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
with:
environment: uat
app_name: assessment
version: sha-${{ github.sha }}
image_location: ${{ needs.paketo_build.outputs.image_location }}

post_uat_deploy_tests:
needs: uat_deploy
Expand Down Expand Up @@ -154,4 +154,4 @@ jobs:
with:
environment: prod
app_name: assessment
version: sha-${{ github.sha }}
image_location: ${{ needs.paketo_build.outputs.image_location }}

0 comments on commit 6058850

Please sign in to comment.