Skip to content
Snippets Groups Projects
Commit 5d4f6d3a authored by Igor Witz's avatar Igor Witz
Browse files

Update .gitlab-ci.yml, pica-etherpad/docker-compose.yml files

parent 9b566644
No related branches found
No related tags found
1 merge request!35Gestion des secrets
Pipeline #40838 canceled
......@@ -89,8 +89,6 @@ docker-bench-security:
- docker logout $REGISTRY
- source /etc/profile.d/ci-variables
- sed -i -e "s/$MODIFIED_IMAGE_FULL/$REGISTRY\/ci-builds\/$CI_COMMIT_SHA:latest/g" $MODIFIED_IMAGE/docker-compose.yml
# remove links to external networks to be able to start the container locally
- sed -i -e '/networks/,+3d' $MODIFIED_IMAGE/docker-compose.yml
# if secrets.example files exist, remove the .example extension to be able to start the container
- if [[ -d $MODIFIED_IMAGE/secrets ]]; then for i in $MODIFIED_IMAGE/secrets/*.example ; do cp $i $(echo $i| cut -d '.' -f1,2); done; fi;
# let docker-compose create the required volumes and networks
......
......@@ -51,5 +51,4 @@ services:
retries: 10
restart: always
networks:
- docker_default
- docker_default
\ No newline at end of file
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