This commit is contained in:
work 2025-02-05 19:25:45 +01:00
parent e90475a95f
commit a8c071688c

8
Jenkinsfile vendored
View file

@ -30,8 +30,12 @@ pipeline {
}
stage('Login to dockerhub') {
steps {
sh 'echo $DOCKERHUB_CREDENTIALS_PSW | docker login -u $DOCKERHUB_CREDENTIALS_USR --password-stdin'
}
docker.withRegistry('https://index.docker.io/v1/', 'piachsecki-dockerhub') {
echo 'Logged into DockerHub'
}
}
}
stage('Push') {
steps {