2018-04-17 11:22:52 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: spritsail/docker-build
|
|
|
|
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
|
|
|
repo: alpine-dev
|
|
|
|
build_args:
|
2018-04-17 12:26:18 +00:00
|
|
|
- ALPINE_TAG=${ALPINE_TAG%%,*}
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
test:
|
2018-09-22 23:55:06 +00:00
|
|
|
image: spritsail/docker-test
|
2018-04-17 11:22:52 +00:00
|
|
|
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
2018-09-22 23:55:06 +00:00
|
|
|
repo: alpine-dev
|
|
|
|
run: su-exec nobody apk --version
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
publish:
|
|
|
|
image: spritsail/docker-publish
|
|
|
|
when: { branch: [ master ], event: [ push, tag, deployment ] }
|
|
|
|
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
2018-09-22 23:54:15 +00:00
|
|
|
secrets: [ docker_username, docker_password ]
|
2018-04-17 11:22:52 +00:00
|
|
|
from: alpine-dev
|
2018-04-17 12:26:18 +00:00
|
|
|
repo: 'spritsail/alpine'
|
|
|
|
tags: ${ALPINE_TAG}
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
notify:
|
|
|
|
image: spritsail/notify
|
|
|
|
when: { status: [ success, failure ] }
|
|
|
|
secrets: [ webhook_url, notify_token ]
|
2018-07-07 16:50:33 +00:00
|
|
|
tag: ${ALPINE_TAG%%,*}
|
2018-04-17 11:22:52 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
ALPINE_TAG:
|
|
|
|
- 3.6
|
2018-06-28 10:51:37 +00:00
|
|
|
- 3.7
|
2019-01-31 08:58:11 +00:00
|
|
|
- 3.8
|
|
|
|
- 3.9,latest
|
2018-04-17 11:22:52 +00:00
|
|
|
- edge
|