File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,11 @@ jobs:
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
+ DOCKER_BUILDKIT : 1
18
19
steps :
19
20
- name : Checkout
20
21
uses : actions/checkout@v3
21
22
22
- - name : Set up Docker Buildx
23
- id : buildx
24
- uses : docker/setup-buildx-action@v2
25
-
26
23
- name : Get the release_version
27
24
run : |
28
25
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
38
35
env :
39
36
GIT_CRYPT_KEY : ${{ secrets.GIT_CRYPT_KEY_STAGE }}
40
37
41
- - name : Load stage secrets to environment
42
- run : |
43
- cat .stage.env >> ${GITHUB_ENV}
44
-
45
38
- name : Build the docker image
46
39
run : |-
47
40
docker build \
Original file line number Diff line number Diff line change @@ -14,12 +14,6 @@ USER ${USERNAME}
14
14
RUN npm cache clean --force && npm install
15
15
EXPOSE 4200
16
16
EXPOSE 9876
17
- ARG API_URL
18
- ARG AUTHORITY
19
- ARG CLIENT_ID
20
- ARG CLIENT_URL
21
- ARG SCOPES
22
- ARG AZURE_APP_CONFIGURATION_CONNECTION_STRING
23
17
RUN --mount=type=secret,id=mysecret set -a && source /run/secrets/mysecret && set +a && npm run build
24
18
25
19
You can’t perform that action at this time.
0 commit comments