Commit 711be9b1 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Updates gitlab ci config

parent f1e2c98b
Pipeline #23933824 passed with stages
in 7 minutes and 5 seconds
services:
- docker:dind
variables:
DOCKER_HOST: tcp://localhost:2375
DOCKER_DRIVER: overlay2
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
- echo "$CI_BUILD_TOKEN" | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
build:
script:
- docker build --build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA -t $CI_REGISTRY_IMAGE:build .
- docker build --cache-from $CI_REGISTRY_IMAGE:build --build-arg CI_COMMIT_SHA=$CI_COMMIT_SHA -t $CI_REGISTRY_IMAGE:build .
- docker push $CI_REGISTRY_IMAGE:build
stage: build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment