Adding docker-publish script to set of deployment scripts
parent
8a297b5db5
commit
2dd64de2ed
|
@ -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