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 15
15
ARM_CLIENT_SECRET : ${{secrets.TF_ARM_CLIENT_SECRET}}
16
16
ARM_SUBSCRIPTION_ID : ${{secrets.TF_ARM_SUBSCRIPTION_ID}}
17
17
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
+
28
19
steps :
29
20
- name : Checkout
30
21
uses : actions/checkout@v3
40
31
creds : ${{ secrets.AZURE_CREDENTIALS }}
41
32
42
33
- 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 .
45
44
46
45
- name : Publish docker image to stage azure container registry
47
46
run : |
You can’t perform that action at this time.
0 commit comments