mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Login to docker before building image (#1067)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user