Update 'Jenkinsfile'
All checks were successful
gitea-sync/ci-image/pipeline/head This commit looks good

This commit is contained in:
dany 2022-09-30 11:42:24 +02:00
parent 467139c273
commit c376cb82e8

6
Jenkinsfile vendored
View File

@ -31,10 +31,10 @@ pipeline{
arch_name="${arch////-}"
docker buildx build \
--platform $arch \
--output "type=docker,push=false,name=xsangle/ci-tools:latest-$arch_name" \
--output "type=docker,push=false,name=xsangle/ci-tools:bionic-$arch_name" \
.
docker tag xsangle/ci-tools:latest-$arch_name workstation:5000/xsangle/ci-tools:latest-$arch_name
docker push workstation:5000/xsangle/ci-tools:latest-$arch_name
# docker tag xsangle/ci-tools:bionic-$arch_name workstation:5000/xsangle/ci-tools:bionic-$arch_name
# docker push workstation:5000/xsangle/ci-tools:bionic-$arch_name
done
'''
}