File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 11name : Merge
22
3+ concurrency :
4+ group : main
5+ cancel-in-progress : false
6+ # This concurrency group ensures that only one workflow runs at a time for the main branch.
37on :
48 push :
59 branches : [main]
@@ -47,12 +51,15 @@ jobs:
4751 name : Retag Images Dev
4852 needs : [deploy_stack_dev, vars]
4953 runs-on : ubuntu-24.04
54+ strategy :
55+ matrix :
56+ package : [backend, migrations, frontend]
5057 steps :
5158 - name : retag
5259 uses : shrink/actions-docker-registry-tag@f04afd0559f66b288586792eb150f45136a927fa # v4
5360 with :
5461 registry : ghcr.io
55- repository : ${{ github.repository }}
62+ repository : ${{ github.repository }}/${{ matrix.package }}
5663 target : ${{ needs.vars.outputs.pr }}
5764 tags : |
5865 dev
@@ -77,12 +84,15 @@ jobs:
7784 name : Retag Images Test
7885 needs : [deploy_stack_test, vars]
7986 runs-on : ubuntu-24.04
87+ strategy :
88+ matrix :
89+ package : [backend, migrations, frontend]
8090 steps :
8191 - name : retag
8292 uses : shrink/actions-docker-registry-tag@f04afd0559f66b288586792eb150f45136a927fa # v4
8393 with :
8494 registry : ghcr.io
85- repository : ${{ github.repository }}
95+ repository : ${{ github.repository }}/${{ matrix.package }}
8696 target : ${{ needs.vars.outputs.pr }}
8797 tags : |
8898 test
Original file line number Diff line number Diff line change 11name : PROD
22on :
33 workflow_dispatch :
4-
4+ concurrency :
5+ group : main
6+ cancel-in-progress : false
7+ # This concurrency group ensures that only one workflow runs at a time for the main branch.
58permissions :
69 id-token : write # This is required for requesting the JWT
710 contents : write # This is required for actions/checkout
@@ -30,12 +33,15 @@ jobs:
3033 name : Retag Images
3134 needs : [vars]
3235 runs-on : ubuntu-24.04
36+ strategy :
37+ matrix :
38+ package : [backend, migrations, frontend]
3339 steps :
3440 - name : retag
3541 uses : shrink/actions-docker-registry-tag@f04afd0559f66b288586792eb150f45136a927fa # v4
3642 with :
3743 registry : ghcr.io
38- repository : ${{ github.repository }}
44+ repository : ${{ github.repository }}/${{ matrix.package }}
3945 target : test # this is the tag of the containers to deploy
4046 tags : |
4147 prod
You can’t perform that action at this time.
0 commit comments