Skip to content

Commit

Permalink
Merge pull request #192 from weaveworks/170-push-tagged
Browse files Browse the repository at this point in the history
Push tagged versions to quay.io
  • Loading branch information
aaron7 authored May 8, 2018
2 parents 8e133c9 + e3a8abe commit d7c3e90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
if [ -z "${CIRCLE_TAG}" -a "${CIRCLE_BRANCH}" == "master" ]; then
docker push "quay.io/weaveworks/launcher-agent:$(docker/image-tag)"
docker push "quay.io/weaveworks/launcher-agent"
elif echo "${CIRCLE_TAG}" | grep -Eq "^[0-9]+(\.[0-9]+)*(-[a-z]+)?$"; then
docker push "quay.io/weaveworks/launcher-agent:${CIRCLE_TAG}"
else
docker tag "quay.io/weaveworks/launcher-agent:$(docker/image-tag)" "quay.io/weaveworks/build-tmp-public:launcher-agent-$(docker/image-tag)"
docker push "quay.io/weaveworks/build-tmp-public:launcher-agent-$(docker/image-tag)"
Expand Down

0 comments on commit d7c3e90

Please # to comment.