Commit 5de57ea0 authored by Remi Cresson's avatar Remi Cresson
Browse files

Add pres (test)

parent c616268d
No related merge requests found
Pipeline #38578 failed with stages
in 42 seconds
Showing with 40 additions and 0 deletions
+40 -0
image: docker:latest
services:
- docker:dind
stages:
- build
- pages
.dind_base:
tags: [dind]
image: docker/compose:1.29.2
variables:
DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: tcp://docker:2375
services:
- name: docker:dind
command: [dockerd, '-H', 'tcp://0.0.0.0:2375']
before_script:
# docker login asks for the password to be passed through stdin for security
# we use $CI_REGISTRY_PASSWORD here which is a special variable provided by GitLab
# https://docs.gitlab.com/ce/ci/variables/predefined_variables.html
- echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
build-image:
extends: .dind_base
stage: build
script:
- docker build -t $CI_REGISTRY_IMAGE otbtf_pres/.
- docker push $CI_REGISTRY_IMAGE
pages:
image: $CI_REGISTRY_IMAGE
stage: pages
script:
- cp -r /public public
- cp -r otbtf_pres/* public
artifacts:
paths:
- public
otbtf_pres 0 → 120000
/home/remi/Documents/otb/otbtf_pres
\ No newline at end of file
Supports Markdown
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