19 lines
No EOL
472 B
YAML
19 lines
No EOL
472 B
YAML
cache:
|
|
key: ${CI_COMMIT_REF_SLUG}
|
|
paths:
|
|
- node_modules/
|
|
- public/API/vendor/
|
|
|
|
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" gitlab.jonasled.de
|
|
script:
|
|
- docker build -t gitlab.jonasled.de/jonasled/website:latest .
|
|
- docker push "gitlab.jonasled.de/jonasled/website:latest"
|
|
only:
|
|
- master |