1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00
budibase/hosting/scripts/linux/release-to-docker-hub.sh
2022-01-31 14:52:44 +01:00

19 lines
404 B
Bash
Executable file

#!/bin/bash
tag=$1
if [[ ! "$tag" ]]; then
echo "No tag present. You must pass a tag to this script"
exit 1
fi
echo "Tagging images with tag: $tag"
docker tag proxy-service budibase/proxy:$tag
docker tag app-service budibase/apps:$tag
docker tag worker-service budibase/worker:$tag
docker push --all-tags budibase/apps
docker push --all-tags budibase/worker
docker push --all-tags budibase/proxy