Update .gitlab/.gitlab-ci.yml file
This commit is contained in:
parent
ad9049ca18
commit
2a5179cf74
@ -10,6 +10,7 @@ docker:
|
|||||||
script:
|
script:
|
||||||
- docker build --no-cache -t "$CI_REGISTRY_IMAGE:latest" -t ztimson/node-exporter:latest .
|
- docker build --no-cache -t "$CI_REGISTRY_IMAGE:latest" -t ztimson/node-exporter:latest .
|
||||||
- docker push "$CI_REGISTRY_IMAGE:latest"
|
- docker push "$CI_REGISTRY_IMAGE:latest"
|
||||||
|
- docker login -u ztimson -p $DOCKER_TOKEN
|
||||||
- docker push "ztimson/node-exporter:latest"
|
- docker push "ztimson/node-exporter:latest"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
|
Loading…
Reference in New Issue
Block a user