Skip to content

Commit ac78df4

Browse files
committed
using buildkit directly
1 parent c9a8046 commit ac78df4

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

.github/workflows/time-tracker-ui-cd-stage.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@ jobs:
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+
DOCKER_BUILDKIT: 1
1819
steps:
1920
- name: Checkout
2021
uses: actions/checkout@v3
2122

22-
- name: Set up Docker Buildx
23-
id: buildx
24-
uses: docker/setup-buildx-action@v2
25-
2623
- name: Get the release_version
2724
run: |
2825
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
@@ -38,10 +35,6 @@ jobs:
3835
env:
3936
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY_STAGE }}
4037

41-
- name: Load stage secrets to environment
42-
run: |
43-
cat .stage.env >> ${GITHUB_ENV}
44-
4538
- name: Build the docker image
4639
run: |-
4740
docker build \

Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ USER ${USERNAME}
1414
RUN npm cache clean --force && npm install
1515
EXPOSE 4200
1616
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
2317
RUN --mount=type=secret,id=mysecret set -a && source /run/secrets/mysecret && set +a && npm run build
2418

2519

0 commit comments

Comments
 (0)