diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a726381..1cef16eb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,9 +2,6 @@ image: docker:latest services: - docker:dind -before_script: - - apk add --no-cache python3 - stages: - linting - deploy @@ -12,11 +9,14 @@ stages: linting: stage: linting before_script: + - apk add --no-cache python3 - pip3 install pylint script: - pylint -E app/*.py build_and_push_container: + before_script: + - apk add --no-cache python3 - pip3 install -r app/requirements.txt stage: deploy script: