Commit 33489f21 authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

hadolint

parent 24a155e9
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -58,17 +58,17 @@ dev_linting_docker:
    # Verify the installation
    hadolint --version

    find . -name 'services/Dockerfile*' -exec hadolint --no-fail -f gitlab_codeclimate {} + > docker-lint.json
    #find . -name 'services/Dockerfile*' -exec hadolint --no-fail -f gitlab_codeclimate {} + > docker-lint.json
    hadolint services/capif-client/Dockerfile
#    - hadolint services/nginx/Dockerfile
#    - hadolint services/register/Dockerfile
  artifacts:
    name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
    when: always
    reports:
      codequality:
        - docker-lint.json
  interruptible: true    
#  artifacts:
#    name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
#    when: always
#    reports:
#      codequality:
#        - docker-lint.json
#  interruptible: true    
  needs: ["dev_linting_code"]
  <<: *dev_common