2
0
mirror of https://github.com/spritsail/alpine.git synced 2024-10-05 05:23:53 +00:00
alpine/.drone.yml

33 lines
691 B
YAML

pipeline:
build:
image: spritsail/docker-build
repo: alpine-dev
build_args:
- ALPINE_TAG=${ALPINE_TAG%%,*}
test:
image: spritsail/docker-test
repo: alpine-dev
run: su-exec nobody apk --version
publish:
image: spritsail/docker-publish
when: { branch: [ master ], event: [ push, tag, deployment ] }
secrets: [ docker_username, docker_password ]
from: alpine-dev
repo: 'spritsail/alpine'
tags: ${ALPINE_TAG}
notify:
image: spritsail/notify
when: { status: [ success, failure ] }
secrets: [ webhook_url, notify_token ]
tag: ${ALPINE_TAG%%,*}
matrix:
ALPINE_TAG:
- 3.8
- 3.9
- 3.10,latest
- edge