2
0
mirror of https://github.com/spritsail/alpine.git synced 2024-07-06 05:36:12 +00:00

Update to Drone 1.x compatible matrix config

This commit is contained in:
Joe Groocock 2019-11-17 15:07:51 +00:00
parent f68f76225f
commit 9657e8c188
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -1,21 +1,18 @@
pipeline:
build:
image: spritsail/docker-build
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
repo: alpine-dev
build_args:
- ALPINE_TAG=${ALPINE_TAG%%,*}
test:
image: spritsail/docker-test
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
repo: alpine-dev
run: su-exec nobody apk --version
publish:
image: spritsail/docker-publish
when: { branch: [ master ], event: [ push, tag, deployment ] }
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
secrets: [ docker_username, docker_password ]
from: alpine-dev
repo: 'spritsail/alpine'
@ -29,7 +26,6 @@ pipeline:
matrix:
ALPINE_TAG:
- 3.7
- 3.8
- 3.9
- 3.10,latest