Fix secrets for publishing
This commit is contained in:
parent
9a74504f48
commit
1a8b3249b2
@ -25,9 +25,14 @@ pipeline:
|
|||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: docker
|
image: docker
|
||||||
|
secrets: [ DOCKER_USER, DOCKER_PASS ]
|
||||||
environment:
|
environment:
|
||||||
- DOCKER_HOST=tcp://docker:2375
|
- DOCKER_HOST=tcp://docker:2375
|
||||||
commands:
|
commands:
|
||||||
- docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
|
- apk add --no-cache openssl
|
||||||
|
- export CUR_VERSION=$(wget -qO- https://adam-ant.co.uk/plex/version.php | cut -d \- -f1)
|
||||||
|
- echo $CUR_VERSION
|
||||||
|
- echo $DOCKER_USER
|
||||||
|
- docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||||
- docker tag devbuild adamant/plexmediaserver:CI_TEST_BUILD
|
- docker tag devbuild adamant/plexmediaserver:CI_TEST_BUILD
|
||||||
- docker push adamant/plexmediaserver:CI_TEST_BUILD
|
- docker push adamant/plexmediaserver:CI_TEST_BUILD
|
||||||
|
Loading…
Reference in New Issue
Block a user