From 2a5179cf74d1c3291d4bbdddaa98bf973a01448e Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Thu, 2 Jun 2022 17:23:35 +0000 Subject: [PATCH] Update .gitlab/.gitlab-ci.yml file --- .gitlab/.gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) 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