From 345bd2846d80fe2ecdce26affd7b05d72c8ad076 Mon Sep 17 00:00:00 2001 From: Maykel Arias Torres Date: Thu, 13 Jun 2019 11:42:51 -0400 Subject: [PATCH] [circle] refs #75 Rename env CIRCLE_TAG=>TAG --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9d4389887..cba1e6f33 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,13 +61,13 @@ jobs: - image: docker:18.06.0-ce-git working_directory: $GOPATH/src/github.com/skycoin/libskycoin environment: - CIRCLE_TAG: $(git tag -l --points-at HEAD) + TAG: $(git tag -l --points-at HEAD) steps: - run: mkdir -p $GOPATH/src/github.com/ $GOPATH/src/github.com/skycoin - checkout - setup_remote_docker: version: 18.06.0-ce - - run: if [[ $CIRCLE_TAG ]]; then docker build --build-arg SHA1=$CIRCLE_SHA1 --build-arg GITHUB_OAUTH_TOKEN --build-arg PROJECT_USERNAME=$CIRCLE_PROJECT_USERNAME --build-arg PROJECT_REPONAME=$CIRCLE_PROJECT_REPONAME --build-arg QEMU_PLATFORM=raspberrypi3 --build-arg VERSION --file $GOPATH/src/github.com/skycoin/libskycoin/docker/images/deploy-arm/Dockerfile $GOPATH/src/github.com/skycoin/libskycoin -t skydev-deploy ; fi + - run: if [[ $TAG ]]; then docker build --build-arg SHA1=$CIRCLE_SHA1 --build-arg GITHUB_OAUTH_TOKEN --build-arg PROJECT_USERNAME=$CIRCLE_PROJECT_USERNAME --build-arg PROJECT_REPONAME=$CIRCLE_PROJECT_REPONAME --build-arg QEMU_PLATFORM=raspberrypi3 --build-arg VERSION --file $GOPATH/src/github.com/skycoin/libskycoin/docker/images/deploy-arm/Dockerfile $GOPATH/src/github.com/skycoin/libskycoin -t skydev-deploy ; fi workflows: version: 2