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

Commit

Permalink
Merge pull request #159 from communitiesuk/FS-3797
Browse files Browse the repository at this point in the history
FS-3797 - Readding main === latest tags
  • Loading branch information
aaronwilliamsv1 authored Nov 27, 2023
2 parents 789f02f + 83694e1 commit 88a226f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/copilot_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Inject replacement image into manifest
run: |
yq -i '.image.location = "ghcr.io/communitiesuk/funding-service-design-account-store:${{ needs.tag_version.outputs.version_to_tag }}"' copilot/fsd-account-store/manifest.yml
yq -i '.image.location = "ghcr.io/communitiesuk/funding-service-design-account-store:${{ github.ref_name == 'main' && 'latest' || needs.tag_version.outputs.version_to_tag }}"' copilot/fsd-account-store/manifest.yml
- name: Run database migrations
run: scripts/migration-task-script.py ${{ matrix.value }} fsd-account-store
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
- name: Inject replacement image into manifest
run: |
yq -i '.image.location = "ghcr.io/communitiesuk/funding-service-design-account-store:${{ needs.tag_version.outputs.version_to_tag }}"' copilot/fsd-account-store/manifest.yml
yq -i '.image.location = "ghcr.io/communitiesuk/funding-service-design-account-store:${{ github.ref_name == 'main' && 'latest' || needs.tag_version.outputs.version_to_tag }}"' copilot/fsd-account-store/manifest.yml
- name: Run database migrations
run: scripts/migration-task-script.py ${{ matrix.value }} fsd-account-store
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
- name: Inject replacement image into manifest
run: |
yq -i '.image.location = "ghcr.io/communitiesuk/funding-service-design-account-store:${{ needs.tag_version.outputs.version_to_tag }}"' copilot/fsd-account-store/manifest.yml
yq -i '.image.location = "ghcr.io/communitiesuk/funding-service-design-account-store:${{ github.ref_name == 'main' && 'latest' || needs.tag_version.outputs.version_to_tag }}"' copilot/fsd-account-store/manifest.yml
- name: Run database migrations
run: scripts/migration-task-script.py ${{ matrix.value }} fsd-account-store
Expand Down

0 comments on commit 88a226f

Please sign in to comment.