summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-11-09 18:56:30 +0100
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-11-09 20:01:26 +0100
commit2ec05f8075c4c373e64e46f64e6e0ad27dc0a41f (patch)
tree737360001798f9101ea89e6385afe02a703c5747 /Jenkinsfile
parente6321f6e3258619c33f93d1e341242bf2ab8970a (diff)
Fix build
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index bbadec1..33f4846 100644
--- 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} \