Skip to content

Commit

Permalink
Include commit hash in docker builds for prototype (#8540)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archaeopteryx authored Mar 3, 2025
1 parent 078970a commit ed3a0e1
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 @@ -105,8 +105,8 @@ jobs:
docker tag app:build "${DOCKERHUB_REPO}:${CIRCLE_BRANCH}-${CIRCLE_SHA1}"
docker push "${DOCKERHUB_REPO}:${CIRCLE_BRANCH}-${CIRCLE_SHA1}"
elif [ "${CIRCLE_BRANCH}" == "prototype" ]; then
docker tag app:build "${DOCKERHUB_REPO}:${CIRCLE_BRANCH}"
docker push "${DOCKERHUB_REPO}:${CIRCLE_BRANCH}"
docker tag app:build "${DOCKERHUB_REPO}:${CIRCLE_BRANCH}-${CIRCLE_SHA1}"
docker push "${DOCKERHUB_REPO}:${CIRCLE_BRANCH}-${CIRCLE_SHA1}"
elif [ ! -z "${CIRCLE_TAG}" ]; then
# deploy a release tag...
echo "${DOCKERHUB_REPO}:${CIRCLE_TAG}"
Expand Down

0 comments on commit ed3a0e1

Please sign in to comment.