diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75ed0e4..5af2ffb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,6 +56,8 @@ image-2.7: image-latest: stage: release + variables: + IMAGENAME: $CI_REGISTRY_IMAGE before_script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY script: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..ecaea45 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +- repo: git://github.com/pre-commit/pre-commit-hooks + sha: e626cd57090d8df0be21e4df0f4e55cc3511d6ab + hooks: + - id: flake8 + - id: check-json \ No newline at end of file diff --git a/Makefile b/Makefile index 0702c94..e169e73 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ git_commit: git_tag: git tag ${VERSION} -upload_git: +git_push: git push --tags origin master pip_upload: