You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
780 B

image: registry.gitlab.com/markuman/dev:3.7.0
variables:
DOCKER_DRIVER: overlay
DOCKER_HOST: tcp://docker:2375/
stages:
- build
build:
stage: build
tags:
- docker
only:
- dev
services:
- docker:dind
script:
- docker build -t registry.gitlab.com/markuman/firefox-headless:latest .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker push registry.gitlab.com/markuman/firefox-headless:latest
build:
stage: build
tags:
- docker
only:
- master
services:
- docker:dind
script:
- docker build -t registry.gitlab.com/markuman/firefox-headless:58 .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker push registry.gitlab.com/markuman/firefox-headless:58