commit 384f1e6546bab563273b9f657ab5bce35c56c4db
parent fbbd80a9dac703fa3cb340f07fb079636f20ac87
Author: Matthias Jaros <jaros@mailbox.org>
Date: Sun, 9 Nov 2025 18:56:30 +0100
Fix build
Diffstat:
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -47,16 +47,24 @@ pipeline {
stage('Docker buildx (multi-arch)') {
steps {
- withCredentials([usernamePassword(
+ withCredentials([
+ usernamePassword(
credentialsId: 'docker',
usernameVariable: 'DOCKER_USER',
passwordVariable: 'DOCKER_PASS'
- )]) {
+ ),
+ usernamePassword(
+ credentialsId: 'docker-hub',
+ usernameVariable: 'DOCKER_HUB_USER',
+ passwordVariable: 'DOCKER_HUB_PASS'
+ )
+ ]) {
sh '''
docker version
docker buildx version
docker buildx ls | grep -q multiarch || docker buildx create --name multiarch --use --bootstrap
echo "$DOCKER_PASS" | docker login $REGISTRY -u "$DOCKER_USER" --password-stdin
+ echo "$DOCKER_HUB_PASS" | docker login -u "$DOCKER_HUB_USER" --password-stdin
DOCKER_BUILDKIT=1 docker buildx build \
--platform ${PLATFORMS} \