2020-08-31 02:04:05 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-07-12 23:59:09 +00:00
|
|
|
DOCKER_TAGS=""
|
|
|
|
|
|
|
|
for TAG in "$@"
|
|
|
|
do
|
|
|
|
DOCKER_TAGS="$DOCKER_TAGS -t stashapp/stash:$TAG"
|
|
|
|
done
|
|
|
|
|
2021-02-18 23:38:13 +00:00
|
|
|
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
2020-08-31 02:04:05 +00:00
|
|
|
|
|
|
|
# must build the image from dist directory
|
2021-10-24 23:36:36 +00:00
|
|
|
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --push $DOCKER_TAGS -f docker/ci/x86_64/Dockerfile dist/
|
2020-08-31 02:04:05 +00:00
|
|
|
|