mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Tag docker image before pushing it to dockerhub
This commit is contained in:
parent
66bc6e8ec4
commit
96811c093b
|
@ -6,7 +6,10 @@ if [ "$TRAVIS_BRANCH" == "master" ]; then
|
|||
TAG=$TRAVIS_TAG
|
||||
fi
|
||||
|
||||
IMAGE_NAME=clems4ever/authelia
|
||||
|
||||
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
|
||||
docker push clems4ever/authelia:$TAG;
|
||||
docker tag $IMAGE_NAME $IMAGE_NAME:$TAG;
|
||||
docker push $IMAGE_NAME:$TAG;
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user