13 lines
353 B
YAML
13 lines
353 B
YAML
|
docker-build-master:
|
||
|
# Official docker image.
|
||
|
image: docker:latest
|
||
|
stage: build
|
||
|
services:
|
||
|
- docker:dind
|
||
|
before_script:
|
||
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
|
||
|
script:
|
||
|
- sudo docker build -t gitlab.jonasled.de/jonasled/website .
|
||
|
- docker push "gitlab.jonasled.de/jonasled/website"
|
||
|
only:
|
||
|
- master
|