2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-11-05 01:16:23 +00:00
plex-media-server/.drone.yml
Joe Groocock 8277a3ce17
Update DockerHub README on push
[PUBLISH SKIP]

Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-11 16:33:15 +01:00

79 lines
1.4 KiB
YAML

---
kind: pipeline
name: build-amd64
platform:
os: linux
arch: amd64
steps:
- name: build
pull: always
image: spritsail/docker-build
settings:
make: true
repo: plex-dev
- name: test-bin
pull: always
image: spritsail/docker-test
settings:
repo: plex-dev
run: |
curl --version &&
xmlstarlet --version
- name: test
pull: always
image: spritsail/docker-test
settings:
curl: :32400/identity
delay: 5
pipe: |
xmlstarlet sel -t -v "/MediaContainer/@version" |
grep -qw "$(label io.spritsail.version.plex | cut -d- -f1)"
repo: plex-dev
retry: 10
- name: publish
pull: always
image: spritsail/docker-publish
settings:
from: plex-dev
repo: spritsail/plex-media-server
tags:
- latest
- "%label io.spritsail.version.plex | %remsuf [0-9a-f]+$ | %auto 2"
username: {from_secret: docker_username}
password: {from_secret: docker_password}
when:
branch:
- master
event:
- push
---
kind: pipeline
name: update-readme
steps:
- name: dockerhub-readme
pull: always
image: jlesage/drone-push-readme
settings:
username: {from_secret: docker_username}
password: {from_secret: docker_password}
repo: spritsail/plex-media-server
when:
branch:
- master
- pass
event:
- push
---
kind: signature
hmac: 6d4fdd6274fdab370550ea310af156a7e6fdb74794c80bf234a825d7136f6783
...