Skip to content
Prev Previous commit
Next Next commit
TTA-139 update pipeline prod
  • Loading branch information
Rodolfo committed Aug 20, 2022
commit b0d0dc02d6fd5186630ee92a628ff31fda9077d0
12 changes: 10 additions & 2 deletions .github/workflows/time-tracker-ui-cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
ARM_CLIENT_SECRET: ${{secrets.TF_ARM_CLIENT_SECRET}}
ARM_SUBSCRIPTION_ID: ${{secrets.TF_ARM_SUBSCRIPTION_ID}}
ARM_TENANT_ID: ${{secrets.TF_ARM_TENANT_ID}}

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -30,8 +30,16 @@ jobs:
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Unlock PROD secrets
uses: sliteteam/[email protected]
env:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY_PROD }}

- name: Build the docker image
run: make build_prod
run: |-
docker build \
--target production -t timetracker_ui \
.

- name: Publish docker image to prod azure container registry
run: |
Expand Down