pull/12/head
Nicolas Arenas 2024-10-23 01:08:14 +02:00
parent 19f4430556
commit 51500a4e35
1 changed files with 6 additions and 0 deletions

6
Jenkinsfile vendored
View File

@ -33,6 +33,7 @@ pipeline {
steps {
sh """
sed 's|ogcore-php:static|${DOCKER_IDENTITY}|g; s|ogcore-nginx:static|${DOCKER_IDENTITY_NGINX}|g' ${DOCKER_COMPOSE_TEMPLATE} > ${DOCKER_COMPOSE_FILE}
cat ${DOCKER_COMPOSE_FILE}
"""
}
}
@ -54,6 +55,11 @@ pipeline {
"""
}
}
stage ("Stop containers") {
steps {
sh "docker compose -f ${DOCKER_COMPOSE_FILE} down"
}
}
stage ("Delete Image") {
steps {
script {