Restored dind container usage
This commit is contained in:
parent
87e3c0df80
commit
b14e6cf873
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -33,13 +33,11 @@ pipeline {
|
||||
|
||||
stage('Build & Push Docker') {
|
||||
steps {
|
||||
container('kaniko') {
|
||||
container('docker') {
|
||||
sh '''
|
||||
/kaniko/executor \
|
||||
--dockerfile=Dockerfile \
|
||||
--context=. \
|
||||
--destination=marcin00.azurecr.io/user-microservice:kaniko \
|
||||
--verbosity=debug
|
||||
docker build -t ${DOCKER_IMAGE} .
|
||||
echo "${ACR_PASSWORD}" | docker login marcin00.azurecr.io -u ${ACR_USERNAME} --password-stdin
|
||||
docker push ${DOCKER_IMAGE}
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user