From c334735113d935c34cb03a5f6a1c903f21cda955 Mon Sep 17 00:00:00 2001 From: Casey Kuhlman <casey@monax.io> Date: Thu, 23 Aug 2018 14:50:54 +0100 Subject: [PATCH] fix reference to local_version to properly source Signed-off-by: Casey Kuhlman <casey@monax.io> --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index afea1e97..08662af2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: - run: |- [[ -n \"$CIRCLE_PULL_REQUESTS\" ]] || \ echo $DOCKER_PASS_DEV | docker login --username $DOCKER_USER_DEV $CI_REGISTRY $DOCKER_HUB_DEV --password-stdin && \ - docker tag $DOCKER_REPO:$(scripts/local_version.sh) $DOCKER_REPO_DEV:$(scripts/local_version.sh) && \ + docker tag $DOCKER_REPO:$($CIRCLE_WORKING_DIRECTORY/scripts/local_version.sh) $DOCKER_REPO_DEV:$($CIRCLE_WORKING_DIRECTORY/scripts/local_version.sh) && \ docker push $DOCKER_REPO_DEV release: -- GitLab