speedtest-to-influxdb2/.gitlab-ci.yml

18 lines
315 B
YAML
Raw Normal View History

2021-05-16 11:52:02 +00:00
image: docker:latest
variables:
DOCKER_DRIVER: overlay2
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
services:
- docker:dind
build:
stage: build
retry: 2
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG