admin-docker.yml 266 Bytes
Newer Older
1 2 3 4
stages:
  - build
  - cleanup

5 6
.docker:
  stage: build
7
  when: manual
8 9 10 11
  tags:
    - docker
  script:
    - docker build -t $CONTAINER_IMAGE --no-cache=true --pull=true $DOCKERFILE_PATH
12 13
  after_script:
    - docker images -qf dangling=true | xargs docker rmi || true