File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change 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-
19- SCOPES : ${{ secrets.SCOPES }}
20- API_URL : ${{ secrets.API_URL_STAGE }}
21- CLIENT_ID : ${{ secrets.CLIENT_ID_STAGE }}
22- CLIENT_URL : ${{ secrets.CLIENT_URL_STAGE }}
23- AUTHORITY : ${{ secrets.AUTHORITY }}
24- STACK_EXCHANGE_ID : ${{ secrets.STACK_EXCHANGE_ID }}
25- STACK_EXCHANGE_ACCESS_TOKEN : ${{ secrets.STACK_EXCHANGE_ACCESS_TOKEN }}
26- AZURE_APP_CONFIGURATION_CONNECTION_STRING : ${{ secrets.AZURE_APP_CONFIGURATION_CONNECTION_STRING }}
27-
18+
2819 steps :
2920 - name : Checkout
3021 uses : actions/checkout@v3
4031 creds : ${{ secrets.AZURE_CREDENTIALS }}
4132
4233 - name : Build the docker image
43- run : make build_prod
44-
34+ run : |-
35+ docker build \
36+ --target production -t timetracker_ui \
37+ --build-arg API_URL=${secrets.API_URL_STAGE} \
38+ --build-arg AUTHORITY=${secrets.AUTHORITY} \
39+ --build-arg CLIENT_ID=${secrets.CLIENT_ID_STAGE} \
40+ --build-arg CLIENT_URL=${secrets.CLIENT_URL_STAGE} \
41+ --build-arg SCOPES=${secrets.SCOPES} \
42+ --build-arg AZURE_APP_CONFIGURATION_CONNECTION_STRING=${secrets.AZURE_APP_CONFIGURATION_CONNECTION_STRING} \
43+ -f Dockerfile .
4544
4645 - name : Publish docker image to stage azure container registry
4746 run : |
You can’t perform that action at this time.
0 commit comments