diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index b8381d7..aa32afd 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -10,6 +10,7 @@ docker: script: - docker build --no-cache -t "$CI_REGISTRY_IMAGE:latest" -t ztimson/node-exporter:latest . - docker push "$CI_REGISTRY_IMAGE:latest" + - docker login -u ztimson -p $DOCKER_TOKEN - docker push "ztimson/node-exporter:latest" rules: - if: $CI_COMMIT_BRANCH