File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,21 +24,21 @@ jobs:
2424 - name : Install docker
2525 uses : docker/setup-buildx-action@v3
2626
27- - name : Backend - Build and push
27+ - name : API - Build and push
2828 uses : docker/build-push-action@v6
2929 with :
3030 context : ./backend
3131 push : true
3232 tags : |
33- ${{ secrets.REGISTRY_URL }}/integration/api
33+ ${{ secrets.REGISTRY_URL }}/integration/api:${{ github.ref == 'refs/heads/prod' && 'prod' || 'dev' }}
3434 env :
35- VITE_API_URL : ${{ github.ref == 'refs/heads/master ' && 'https://integration.utt.fr/api' || 'https://integration.dev.uttnetgroup.fr/api' }}
36- VITE_SERVICE_URL : ${{ github.ref == 'refs/heads/master ' && 'https://integration.utt.fr' || 'https://integration.dev.uttnetgroup.fr' }}
35+ VITE_API_URL : ${{ github.ref == 'refs/heads/prod ' && 'https://integration.utt.fr/api' || 'https://integration.dev.uttnetgroup.fr/api' }}
36+ VITE_SERVICE_URL : ${{ github.ref == 'refs/heads/prod ' && 'https://integration.utt.fr' || 'https://integration.dev.uttnetgroup.fr' }}
3737
38- - name : Frontend - Build and push
38+ - name : Front - Build and push
3939 uses : docker/build-push-action@v6
4040 with :
4141 context : ./frontend
4242 push : true
4343 tags : |
44- ${{ secrets.REGISTRY_URL }}/integration/front
44+ ${{ secrets.REGISTRY_URL }}/integration/front:${{ github.ref == 'refs/heads/prod' && 'prod' || 'dev' }}
You can’t perform that action at this time.
0 commit comments