pelican-website-ge/.gitlab-ci.yml

17 lines
371 B
YAML
Raw Normal View History

2021-09-21 13:54:31 +02:00
stages:
- build
image: docker:latest
2021-09-21 13:54:31 +02:00
before_script:
- docker info
2021-09-21 14:05:41 +02:00
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
2021-09-21 13:54:31 +02:00
build:
stage: build
2021-09-21 14:03:01 +02:00
tags:
- integration
2021-09-21 13:54:31 +02:00
script:
- docker build -t $CI_REGISTRY_IMAGE:latest -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA -f standalone-deploy/Dockerfile .
- docker push $CI_REGISTRY_IMAGE --all-tags