This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
base/.gitlab-ci.yml
2016-07-04 22:07:54 +10:00

30 lines
521 B
YAML

image: ci-docker:latest
services:
- docker:dind
before_script:
- docker info
- docker version
- df
- find /etc/docker/ -print -exec ls -al {} \;
- id
- env
- set
- ps -Af
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.leenooks.net
test:
stage: test
script:
- docker build -t leenooks/base .
only:
- debug
build:
stage: build
script:
- docker build -t leenooks/base .
- docker tag leenooks/base registry.leenooks.net/leenooks/base
- docker push registry.leenooks.net/leenooks/base