File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
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+
1828 steps :
1929 - name : Checkout
2030 uses : actions/checkout@v3
3242 - name : Build the docker image
3343 run : make build_prod
3444
35- - name : Inject Secrets
36- env :
37- SCOPES : ${{ secrets.SCOPES }}
38- API_URL : ${{ secrets.API_URL_STAGE }}
39- CLIENT_ID : ${{ secrets.CLIENT_ID_STAGE }}
40- CLIENT_URL : ${{ secrets.CLIENT_URL_STAGE }}
41- AUTHORITY : ${{ secrets.AUTHORITY }}
42- STACK_EXCHANGE_ID : ${{ secrets.STACK_EXCHANGE_ID }}
43- STACK_EXCHANGE_ACCESS_TOKEN : ${{ secrets.STACK_EXCHANGE_ACCESS_TOKEN }}
44- AZURE_APP_CONFIGURATION_CONNECTION_STRING : ${{ secrets.AZURE_APP_CONFIGURATION_CONNECTION_STRING }}
45- run : |
46- chmod +x ./scripts/populate-keys.sh
47- sh ./scripts/populate-keys.sh
4845
4946 - name : Publish docker image to stage azure container registry
5047 run : |
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ CMD ${HOME}/time-tracker-ui/node_modules/.bin/ng serve --host 0.0.0.0 --disableH
1717
1818
1919FROM development as build
20+ RUN chmod +x ./scripts/populate-keys.sh
21+ RUN sh ./scripts/populate-keys.sh
2022RUN npm run build
2123
2224FROM nginx:1.21 AS production
You can’t perform that action at this time.
0 commit comments