mirror of
https://github.com/spritsail/alpine.git
synced 2024-12-20 11:34:36 +00:00
Update to Drone 1.x compatible matrix config
This commit is contained in:
parent
f68f76225f
commit
9657e8c188
@ -1,21 +1,18 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: spritsail/docker-build
|
image: spritsail/docker-build
|
||||||
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
|
||||||
repo: alpine-dev
|
repo: alpine-dev
|
||||||
build_args:
|
build_args:
|
||||||
- ALPINE_TAG=${ALPINE_TAG%%,*}
|
- ALPINE_TAG=${ALPINE_TAG%%,*}
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: spritsail/docker-test
|
image: spritsail/docker-test
|
||||||
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
|
||||||
repo: alpine-dev
|
repo: alpine-dev
|
||||||
run: su-exec nobody apk --version
|
run: su-exec nobody apk --version
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: spritsail/docker-publish
|
image: spritsail/docker-publish
|
||||||
when: { branch: [ master ], event: [ push, tag, deployment ] }
|
when: { branch: [ master ], event: [ push, tag, deployment ] }
|
||||||
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets: [ docker_username, docker_password ]
|
||||||
from: alpine-dev
|
from: alpine-dev
|
||||||
repo: 'spritsail/alpine'
|
repo: 'spritsail/alpine'
|
||||||
@ -29,7 +26,6 @@ pipeline:
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
ALPINE_TAG:
|
ALPINE_TAG:
|
||||||
- 3.7
|
|
||||||
- 3.8
|
- 3.8
|
||||||
- 3.9
|
- 3.9
|
||||||
- 3.10,latest
|
- 3.10,latest
|
||||||
|
Loading…
Reference in New Issue
Block a user