File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ before_script:
2121 - echo "Building image"
2222 - echo ${STACK_PHP_IMAGE}
2323
24+ after_script :
25+ - export ISOLATION=buildpipeline${CI_PIPELINE_ID}
26+ - export COMPOSE_PROJECT_NAME=${ISOLATION}${CI_BUILD_NAME}
27+ - docker-compose down -v
2428
2529
2630build:php :
@@ -133,12 +137,3 @@ release:php-alpine-nginx-xdebug:latest:
133137 - docker login --username ${REGISTRY_USER} --password ${REGISTRY_PASS} ${REGISTRY_HOST}
134138 - docker tag ${STACK_PHP_IMAGE}-alpine-nginx-xdebug ${REGISTRY_PHP_IMAGE}-alpine-nginx-xdebug
135139 - docker push ${REGISTRY_PHP_IMAGE}-alpine-nginx-xdebug
136-
137-
138-
139- cleanup :
140- stage : cleanup
141- script :
142- - docker-compose kill
143- - docker-compose rm -fv --all
144- - docker-compose down --rmi local --volumes
You can’t perform that action at this time.
0 commit comments