docker-qemu-reactos/.gitlab-ci.yml

39 lines
724 B
YAML
Raw Normal View History

2019-02-20 22:10:38 +00:00
image: docker:stable
services:
- docker:dind
stages:
- build:images
- push:images
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
build:image:
stage: build:images
before_script:
- docker info
- apk add --no-cache coreutils git make xz
2019-02-20 22:10:38 +00:00
script:
- make build-image save-image
artifacts:
expire_in: 1 hour
paths:
- dist/
push:image:
stage: push:images
before_script:
- apk add --no-cache coreutils git make xz
- docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}" >/dev/null 2>&1
2019-02-20 22:10:38 +00:00
script:
- make load-image push-image
only:
- /^v([0-9.]+)(-.+)?$/
except:
- branches
dependencies:
- build:image