Update .gitlab/.gitlab-ci.yml file

This commit is contained in:
Zakary Timson 2022-06-02 17:23:35 +00:00
parent ad9049ca18
commit 2a5179cf74

View File

@ -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