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

30 lines
530 B
YAML
Raw Normal View History

2016-07-04 12:17:08 +00:00
image: leenooks/ci-docker:latest
2016-05-26 12:09:23 +00:00
services:
- docker:dind
before_script:
- docker info
2016-05-27 03:44:25 +00:00
- docker version
2016-05-27 02:43:31 +00:00
- df
2016-05-27 02:51:06 +00:00
- find /etc/docker/ -print -exec ls -al {} \;
- id
2016-05-27 03:32:42 +00:00
- env
- set
2016-05-27 03:48:54 +00:00
- ps -Af
2016-05-27 03:44:25 +00:00
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.leenooks.net
2016-05-26 12:09:23 +00:00
2016-05-27 03:44:25 +00:00
test:
stage: test
script:
- docker build -t leenooks/base .
2016-05-27 03:47:20 +00:00
only:
- debug
2016-05-27 03:44:25 +00:00
2016-05-26 12:09:23 +00:00
build:
stage: build
script:
2016-05-27 03:25:27 +00:00
- docker build -t leenooks/base .
- docker tag leenooks/base registry.leenooks.net/leenooks/base
2016-05-26 12:23:00 +00:00
- docker push registry.leenooks.net/leenooks/base