ci: tag harbor images with build number
This commit is contained in:
parent
af857482a3
commit
b1e839705c
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -101,13 +101,12 @@ spec:
|
||||
}
|
||||
|
||||
stage('Build & push arm64 images') {
|
||||
environment {
|
||||
VERSIONTAG = "${VERSION}${TAG_SUFFIX}"
|
||||
}
|
||||
steps {
|
||||
container('builder') {
|
||||
sh '''
|
||||
set -euo pipefail
|
||||
VERSIONTAG="${VERSION}${TAG_SUFFIX}.${BUILD_NUMBER}"
|
||||
export VERSIONTAG
|
||||
mkdir -p /root/.docker
|
||||
cp /docker-config/config.json /root/.docker/config.json
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user