Skip to content

Commit d829238

Browse files
committed
load secrets
1 parent f98d359 commit d829238

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ Makefile
66
.gitignore
77
*keys.ts
88
*.keys.json
9+
.git-crypt
10+
.git

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,13 @@ jobs:
3636

3737
- name: Load stage secrets to environment
3838
run: |
39-
set -a
40-
source .stage.env
41-
set +a
39+
cat .stage.env >> ${GITHUB_ENV}
4240
4341
- name: Build the docker image
4442
run: |-
4543
docker build \
4644
--target production -t timetracker_ui \
47-
--build-arg API_URL="$API_URL" \
4845
--build-arg AUTHORITY="$AUTHORITY" \
49-
--build-arg CLIENT_ID="$CLIENT_ID" \
50-
--build-arg CLIENT_URL="$CLIENT_URL" \
51-
--build-arg SCOPES="$SCOPES" \
52-
--build-arg STACK_EXCHANGE_ID="$STACK_EXCHANGE_ID" \
53-
--build-arg STACK_EXCHANGE_ACCESS_TOKEN="$STACK_EXCHANGE_ACCESS_TOKEN" \
54-
--build-arg AZURE_APP_CONFIGURATION_CONNECTION_STRING="$AZURE_APP_CONFIGURATION_CONNECTION_STRING" \
5546
.
5647
5748
- name: Publish docker image to stage azure container registry

0 commit comments

Comments
 (0)