Skip to content
Snippets Groups Projects
Commit 52011119 authored by Benjamin Guillon's avatar Benjamin Guillon :metal:
Browse files

Update .gitlab-ci.yml

parent f39aa9b8
No related branches found
No related tags found
3 merge requests!5Module Tapes : Try fixing bug 'Mixed Content The page at was loaded over...,!3Openshift deployment,!2Openshift deployment
Pipeline #64644 failed
......@@ -14,12 +14,11 @@ build:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG" -f ./docker/php-build/Dockerfile .
- docker cp $(docker create "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG"):/var/www/html "$CI_BUILD_DIR/php-build"
- ls -la "$CI_BUILD_DIR/php-build"
- docker rm -f php-build-tmp
- mkdir php-build && docker cp $(docker create "$CI_REGISTRY_IMAGE/php-build:$CI_COMMIT_REF_SLUG"):/var/www/html php-build
- pwd && ls -la php-build
artifacts:
paths:
- "$CI_BUILD_DIR/php-build"
- php-build
php-image-build:
stage: images
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment