Skip to content
Snippets Groups Projects
Commit 54d62019 authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

Update .gitlab-ci.yml

parent d6f3e4e0
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 #58533 failed
...@@ -19,6 +19,7 @@ before_script: ...@@ -19,6 +19,7 @@ before_script:
stages: stages:
- test - test
- deploy
##Test ##Test
...@@ -43,6 +44,18 @@ job_test: ...@@ -43,6 +44,18 @@ job_test:
## Tests ## Tests
- vendor/bin/simple-phpunit --configuration phpunit.xml.dist - vendor/bin/simple-phpunit --configuration phpunit.xml.dist
job_deploy:
image: docker:latest
stage: deploy
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
......
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