.gitlab-ci.yml 505 Bytes
Newer Older
Daniele Venzano's avatar
Daniele Venzano committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
stages:
  - deploy

variables:
  VERSION: $CI_BUILD_ID

images:
  image: docker:latest
  stage: deploy
  before_script:
    - mkdir -p /etc/docker/certs.d/$DOCKER_REGISTRY
    - cp /registry-ca.crt /etc/docker/certs.d/$DOCKER_REGISTRY/ca.crt
    - mkdir -p $HOME/.docker
    - echo $DOCKER_AUTH_CONFIG > $HOME/.docker/config.json
    - apk update
    - apk add python findutils bash
  script:
    - bash build_all.sh
    - python gen_json.py
  artifacts:
    paths:
      - "*.json"
  only:
    - master