File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 1919 - ' '
2020 - ' --no-cache'
2121
22- build_module :
23- description : ' Docker Build Target Module'
24- default : ' '
25- type : string
26-
27- deploy_module :
28- description : ' Docker Deploy Target Module'
29- default : ' '
30- type : string
31-
32-
3322jobs :
3423 build :
3524 runs-on : ubuntu-latest
@@ -125,8 +114,9 @@ jobs:
125114
126115 - name : Build and push
127116 run : |
128- docker compose -f docker-compose.build.yml --env-file tdei_uw.env build --build-arg CODE_VERSION=${CODE_VERSION} ${{github.event.inputs.build_flag}} ${{github.event.inputs.build_module}}
117+ docker compose -f docker-compose.build.yml --env-file tdei_uw.env build --build-arg CODE_VERSION=${CODE_VERSION} ${{github.event.inputs.build_flag}}
129118 docker compose -f docker-compose.build.yml --env-file tdei_uw.env push
119+
130120 env :
131121 ENV : ${{ vars.ENV }}
132122 CODE_VERSION : " ${{ env.FRONTEND_VERSION }}-${{ env.CGIMAP_VERSION }}-${{ env.OSMRAILS_VERSION }}-${{ env.PATHWAYS_VERSION }}-${{ env.RAPID_VERSION }}-${{ env.TM_VERSION }}-${{ env.LB_VERSION }}"
@@ -189,7 +179,7 @@ jobs:
189179 docker image prune -a -f
190180
191181 # pull new images, recreate containers
192- docker compose -f docker-compose.deploy.yml --env-file tdei_uw.env up -d --force-recreate --remove-orphans ${{github.event.inputs.deploy_module}}
182+ docker compose -f docker-compose.deploy.yml --env-file tdei_uw.env up -d --force-recreate --remove-orphans
193183
194184 # check what was deployed, just to save in the GH logs
195185 echo Waiting for deployment to complete
You can’t perform that action at this time.
0 commit comments