Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit b00bcf28 authored by Nicolas's avatar Nicolas
Browse files

cicd: update ci

parent 5027c471
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,11 @@ docker-hadolint:
- docker
script:
- mkdir -p reports
- hadolint -f gitlab_codeclimate .docker/phpfpm.Dockerfile > reports/hadolint-$(md5sum Dockerfile | cut -d" " -f1).json
- DOCKERFILES=(httpd nginx phpfpm phpunit)
- |
for DOCKERFILE in "${DOCKERFILES[@]}"; do
hadolint -f gitlab_codeclimate .docker/"$DOCKERFILE".Dockerfile > "reports/hadolint-$(md5sum .docker/"$DOCKERFILE".Dockerfile | cut -d' ' -f1).json"
done
artifacts:
name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
expire_in: 1 day
......
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