Skip to content

Commit

Permalink
Fetch tag manually
Browse files Browse the repository at this point in the history
  • Loading branch information
fchauvel committed May 5, 2019
1 parent 059b4a1 commit 4ae719a
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 @@ -60,13 +60,15 @@ jobs:
machine:
image: circleci/classic:201808-01
steps:
- checkout
- attach_workspace:
at: ./
- run: |
docker load -i camp-ci.tar
- run: |
if [[ -z "${CIRCLE_PULL_REQUEST}" ]]
then
CIRCLE_TAG=$(git tag -l --points-at HEAD)
docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
if [[ "${CIRCLE_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]
then
Expand Down

0 comments on commit 4ae719a

Please sign in to comment.