Skip to content

Commit 608bf52

Browse files
committed
DESENG-820 (fix): Update Docker build commands to use export for timezone setting
1 parent 99a73d3 commit 608bf52

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/met-api-cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
6161
- name: Build image
6262
run: |
63-
TZ='America/Vancouver' docker build . --file Dockerfile \
63+
export TZ='America/Vancouver' &&
64+
docker build . --file Dockerfile \
6465
--build-arg MET_BUILD_COMMIT_HASH=${{ github.sha }} \
6566
--build-arg MET_BUILD_DATE="$(date +'%b %d, %Y @ %H:%M')" \
6667
--build-arg MET_BUILD_BRANCH=${{ github.ref_name }} \

.github/workflows/met-web-cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070
env:
7171
DOCKER_BUILDKIT: 1
7272
run: |
73-
TZ='America/Vancouver' docker build . --file Dockerfile \
73+
export TZ='America/Vancouver' &&
74+
docker build . --file Dockerfile \
7475
--secret id=artifactory_username,src=/tmp/artifactory_username \
7576
--secret id=artifactory_password,src=/tmp/artifactory_password \
7677
--build-arg REACT_APP_BUILD_COMMIT_HASH=${{ github.sha }} \

0 commit comments

Comments
 (0)