summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-11-09 18:56:30 +0100
committerGravatar Matthias Jaros <jarlucmat@mailbox.org>2025-11-09 20:01:26 +0100
commit18357cd3b4660fce16c1550cbf208af7a9d7be28 (patch)
tree737360001798f9101ea89e6385afe02a703c5747 /Jenkinsfile
parent640899ccad27db491bd8a89d521ced8dcf9601c4 (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} \