Skip to content

Commit 3bc7e57

Browse files
author
Scott Kelly
committed
Accidentally combined tags
1 parent ed716bc commit 3bc7e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ stage('publish') {
1515

1616
if(env.DOCKER_TAG != "") {
1717
withCredentials([string(credentialsId: 'npm-token', variable: 'NPM_TOKEN')]) {
18-
sh 'sudo -E docker build --build-arg NPM_TOKEN=$NPM_TOKEN-t ${DOCKER_TAG} .';
18+
sh 'sudo -E docker build --build-arg NPM_TOKEN=$NPM_TOKEN -t ${DOCKER_TAG} .';
1919
sh 'sudo -E docker run -e "NPM_TOKEN=$NPM_TOKEN" ${DOCKER_TAG} bash -c "npm --no-git-tag-version version ${DOCKER_TAG} && npm publish --tag ${NPM_TAG}"';
2020
sh "sudo -E docker push ${DOCKER_TAG}";
2121
}

0 commit comments

Comments
 (0)