mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Adding docker-publish script to set of deployment scripts
This commit is contained in:
parent
8a297b5db5
commit
2dd64de2ed
12
scripts/docker-publish.sh
Executable file
12
scripts/docker-publish.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
TAG=latest
|
||||
if [ ! -z "$TRAVIS_TAG" ]; then
|
||||
TAG=$TRAVIS_TAG
|
||||
fi
|
||||
|
||||
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
|
||||
docker push clems4ever/authelia:$TAG;
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user