Skip to content

Commit

Permalink
chore(ci): Add timestamp to image tag to order for latest
Browse files Browse the repository at this point in the history
  • Loading branch information
placer14 committed Nov 16, 2022
1 parent 78bcbe0 commit b8ac585
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
sanitized_branch=`echo $CIRCLE_BRANCH | sed 's:/:-:g'`
tag_suffix=$(echo "$CIRCLE_SHA1" | cut -c 1-8)
make docker-mainnet-push LILY_IMAGE_TAG=${sanitized_branch}-${tag_suffix}
tag_date=$(date +%Y%m%d%H%M)
make docker-mainnet-push LILY_IMAGE_TAG=${sanitized_branch}-${tag_date}-${tag_suffix}
publish-production-image-from-branch-for-calibnet:
executor: dockerizer
steps:
Expand Down

0 comments on commit b8ac585

Please sign in to comment.