Skip to content

Commit

Permalink
Merge pull request #1153 from ANTsX/dockerLabel
Browse files Browse the repository at this point in the history
ENH: Fix timezone for CircleCI Docker builds
  • Loading branch information
cookpa authored Mar 3, 2021
2 parents c73f4dc + b4195ec commit 91529e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
jobs:
build_docker:
environment:
TZ: "/usr/share/zoneinfo/America/New_York"
TZ: "America/New_York"
SCRATCH: "/scratch"
docker:
- image: docker:18.06.1-ce-git
Expand All @@ -19,7 +19,7 @@ jobs:
e=1 && for i in {1..5}; do
docker build \
--rm=false \
--label version="CircleCI automated build commit ${CIRCLE_SHA1}" \
--label version="CircleCI automated build of commit ${CIRCLE_SHA1}" \
-t antsx/ants:latest . \
&& e=0 && break || sleep 15
done && [ "$e" -eq "0" ]
Expand Down

0 comments on commit 91529e6

Please sign in to comment.