Restored dind container usage

This commit is contained in:
Marcin-Ramotowski 2025-06-07 21:44:24 +00:00
parent 87e3c0df80
commit b14e6cf873

10
Jenkinsfile vendored
View File

@ -33,13 +33,11 @@ pipeline {
stage('Build & Push Docker') { stage('Build & Push Docker') {
steps { steps {
container('kaniko') { container('docker') {
sh ''' sh '''
/kaniko/executor \ docker build -t ${DOCKER_IMAGE} .
--dockerfile=Dockerfile \ echo "${ACR_PASSWORD}" | docker login marcin00.azurecr.io -u ${ACR_USERNAME} --password-stdin
--context=. \ docker push ${DOCKER_IMAGE}
--destination=marcin00.azurecr.io/user-microservice:kaniko \
--verbosity=debug
''' '''
} }
} }