pelican-website-ge/.gitlab-ci.yml
Mohammed Sohail 11a580630f
release: docker enabled builds
build: standalone

docker: push all tags

deps: update docker image

domain: update

chore: cleanup
2021-10-27 17:11:11 +03:00

17 lines
371 B
YAML

stages:
- build
image: docker:latest
before_script:
- docker info
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
build:
stage: build
tags:
- integration
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