2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-12-20 11:34:36 +00:00

Build using auto-generated Docker image name

This allows running multiple builds of the same pipeline on one Docker
daemon, and also makes configuration simpler, as the  argument is
implied if not provided.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2021-01-04 00:23:22 +00:00
parent 050f01e3b7
commit 22bc203455
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -12,13 +12,11 @@ steps:
image: spritsail/docker-build image: spritsail/docker-build
settings: settings:
make: true make: true
repo: ppass-dev
- name: test-bin - name: test-bin
pull: always pull: always
image: spritsail/docker-test image: spritsail/docker-test
settings: settings:
repo: ppass-dev
run: | run: |
curl --version && curl --version &&
xmlstarlet --version xmlstarlet --version
@ -32,14 +30,12 @@ steps:
pipe: | pipe: |
xmlstarlet sel -t -v "/MediaContainer/@version" | xmlstarlet sel -t -v "/MediaContainer/@version" |
grep -qw "$(label io.spritsail.version.plex | cut -d- -f1)" grep -qw "$(label io.spritsail.version.plex | cut -d- -f1)"
repo: ppass-dev
retry: 10 retry: 10
- name: publish - name: publish
pull: always pull: always
image: spritsail/docker-publish image: spritsail/docker-publish
settings: settings:
from: ppass-dev
repo: spritsail/plex-media-server repo: spritsail/plex-media-server
tags: tags:
- plexpass - plexpass