Skip to content

Commit

Permalink
ci: 取消dockerhub push
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruibin committed Jun 11, 2024
1 parent adfddaa commit 4985b18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ pipeline {
sh '''#!/bin/bash -xe
docker --config /home/metersphere/.docker buildx build --no-cache --build-arg MS_VERSION=\${TAG_NAME:-\$BRANCH_NAME}-\${GIT_COMMIT:0:8} --build-arg IMG_TAG=\${TAG_NAME:-\$BRANCH_NAME} \
-t ${IMAGE_PREFIX}/metersphere-ce-allinone:\${TAG_NAME:-\$BRANCH_NAME} \
-t metersphere/metersphere-ce-allinone:\${TAG_NAME:-\$BRANCH_NAME} \
-f Dockerfile.all --platform linux/amd64,linux/arm64 . --push
'''
}
Expand All @@ -51,7 +50,6 @@ pipeline {
sh '''#!/bin/bash -xe
docker --config /home/metersphere/.docker buildx build --no-cache --build-arg MS_VERSION=\${TAG_NAME:-\$BRANCH_NAME}-\${GIT_COMMIT:0:8} --build-arg IMG_TAG=\${TAG_NAME:-\$BRANCH_NAME} \
-t ${IMAGE_PREFIX}/metersphere-ce-allinone:latest \
-t metersphere/metersphere-ce-allinone:latest \
-f Dockerfile.all --platform linux/amd64,linux/arm64 . --push
'''
}
Expand Down

0 comments on commit 4985b18

Please sign in to comment.