Skip to content
Snippets Groups Projects
Select Git revision
  • 9d1b782e4ca6d0f0ebffd90bea2dd08042a9cabb
  • master default protected
  • docs-improve_user_path_description
  • fix-pipeline
  • ci-change_exercises_image_registry
  • feat-merge_recorder_in_extension
  • feat-default_folder
  • feat-change_user
  • develop protected
  • refactor-mission
  • feat-exercise_automatic_save
  • docs-improve_documentation
  • feat-create_little_container_for_developer
  • feat-local-dev
  • 0.1.12
  • 0.1.11
  • 0.1.10
  • 0.1.5
18 results

.gitlab-ci.yml

Blame
  • .gitlab-ci.yml 469 B
    variables:
      DOCKER_HOST: tcp://docker:2375/
      DOCKER_DRIVER: overlay2
    
    stages:
      - build
    
    before_script:
      - apk update
      - apk add nodejs npm
      - apk add yarn
      - export TAG=${CI_COMMIT_TAG:-latest}
    
    
    build:
      stage: build
      services:
        - docker:18.09.6-dind
      script:
        - ./build.sh
        - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.e-biz.fr
        - docker build . -t $CI_REGISTRY_IMAGE
        - docker push $CI_REGISTRY_IMAGE:$TAG
      only:
        - master