.gitlab-ci.yml 281 Bytes
Newer Older
David Blyth's avatar
David Blyth committed
1 2 3
before_script:
  - docker info

David Blyth's avatar
David Blyth committed
4
build_test:
David Blyth's avatar
David Blyth committed
5
  script:
David Blyth's avatar
David Blyth committed
6 7 8 9
    - docker build -t argonneeic/base:$CI_COMMIT_REF_NAME --build-arg BUILD_THREADS=20 .
  only:
    - branches

David Blyth's avatar
David Blyth committed
10
build_latest:
David Blyth's avatar
David Blyth committed
11 12 13 14
  script:
    - docker build -t argonneeic/base --build-arg BUILD_THREADS=20 .
  only:
    - master