Compare commits

...

1 Commits

Author SHA1 Message Date
chris f4bdcee16b fix login
dockers/pixelfed/pipeline/head There was a failure building this commit Details
2023-06-06 21:00:06 +02:00
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -15,19 +15,19 @@ pipeline {
stage('Build image') {
steps {
script {
sh "buildah login reg.zknt.org -u $ZKNT_CRED_USR -p $ZKNT_CRED_PSW"
sh "buildah login -u " + ZKNT_CRED_USR + " -p " + ZKNT_CRED_PSW + " reg.zknt.org"
def image = registry + '/' + repo + '/' + project
sh "buildah bud -f Containerfile --build-arg DATE=$timeStamp -t pixelfed:test"
sh "buildah tag pixelfed:test reg.zknt.org/zknt/pixelfed:test"
sh "buildah push " + image + ':test'
}
script {
sh "buildah login docker.io -u $IO_CRED_USR -p $IO_CRED_PSW"
sh "buildah login -u $IO_CRED_USR -p $IO_CRED_PSW docker.io"
sh "buildah tag pixelfed:test docker.io/zknt/pixelfed:test"
sh "buildah push docker.io/zknt/pixelfed:test"
}
script {
sh "buildah login quay.io -u $QUAY_CRED_USR -p $QUAY_CRED_PSW"
sh "buildah login -u $QUAY_CRED_USR -p $QUAY_CRED_PSW quay.io"
sh "buildah tag pixelfed:test quay.io/zknt/pixelfed:test"
sh "buildah push quay.io/zknt/pixelfed:test"
}