Skip to content

Commit b0d0dc0

Browse files
author
Rodolfo
committed
TTA-139 update pipeline prod
1 parent 1f72fcf commit b0d0dc0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/time-tracker-ui-cd-prod.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
ARM_CLIENT_SECRET: ${{secrets.TF_ARM_CLIENT_SECRET}}
1616
ARM_SUBSCRIPTION_ID: ${{secrets.TF_ARM_SUBSCRIPTION_ID}}
1717
ARM_TENANT_ID: ${{secrets.TF_ARM_TENANT_ID}}
18-
18+
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v3
@@ -30,8 +30,16 @@ jobs:
3030
with:
3131
creds: ${{ secrets.AZURE_CREDENTIALS }}
3232

33+
- name: Unlock PROD secrets
34+
uses: sliteteam/[email protected]
35+
env:
36+
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY_PROD }}
37+
3338
- name: Build the docker image
34-
run: make build_prod
39+
run: |-
40+
docker build \
41+
--target production -t timetracker_ui \
42+
.
3543
3644
- name: Publish docker image to prod azure container registry
3745
run: |

0 commit comments

Comments
 (0)