mirror of https://github.com/stashapp/stash.git
Login to docker before building image (#1067)
This commit is contained in:
parent
1e04deb3d4
commit
093b997eb1
|
@ -3,7 +3,7 @@
|
|||
DOCKER_TAG=$1
|
||||
|
||||
# must build the image from dist directory
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
docker build -t stashapp/stash:$DOCKER_TAG -f ./docker/ci/x86_64/Dockerfile ./dist
|
||||
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
docker push stashapp/stash:$DOCKER_TAG
|
||||
|
|
Loading…
Reference in New Issue