1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00
budibase/hosting/scripts/linux/release-to-docker-hub.sh
2021-11-22 18:25:57 +01:00

17 lines
321 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 app-service budibase/apps:$tag
docker tag worker-service budibase/worker:$tag
docker push --all-tags budibase/apps
docker push --all-tags budibase/worker