Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b2f3a233 authored by BIGAUD Nathan's avatar BIGAUD Nathan
Browse files

Adding push to container registry to the CI pipeline

parent 3f22b6e6
No related branches found
No related tags found
1 merge request!46Draft: Docker deploy
Pipeline #807711 waiting for manual action
......@@ -6,6 +6,19 @@ before_script:
- python -m venv venv
- source venv/bin/activate
# Push changes to docker images to registry if any
docker-images:
script:
- echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
- bash images.sh
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
changes:
- Dockerfile
- "*.Dockerfile"
when: manual
allow_failure: true
# Run the test suite using tox.
# This job is called when commits are pushed to the main or a release branch.
test:
......
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