mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
13 lines
232 B
Bash
Executable File
13 lines
232 B
Bash
Executable File
#!/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
|
|
|