2021-01-08 00:38:37 +13:00
|
|
|
#!/bin/bash
|
2021-01-29 23:41:08 +13:00
|
|
|
|
|
|
|
tag=$1
|
2021-08-25 04:16:45 +12:00
|
|
|
|
|
|
|
if [[ ! "$tag" ]]; then
|
|
|
|
echo "No tag present. You must pass a tag to this script"
|
|
|
|
exit 1
|
|
|
|
fi
|
2021-01-29 23:41:08 +13:00
|
|
|
|
2021-08-25 03:58:10 +12:00
|
|
|
echo "Tagging images with tag: $tag"
|
2021-05-20 23:38:12 +12:00
|
|
|
|
2022-02-01 02:52:44 +13:00
|
|
|
docker tag proxy-service budibase/proxy:$tag
|
2021-06-22 03:44:54 +12:00
|
|
|
docker tag app-service budibase/apps:$tag
|
|
|
|
docker tag worker-service budibase/worker:$tag
|
2021-01-29 23:41:08 +13:00
|
|
|
|
2021-08-25 04:16:45 +12:00
|
|
|
docker push --all-tags budibase/apps
|
|
|
|
docker push --all-tags budibase/worker
|
2022-02-01 02:52:44 +13:00
|
|
|
docker push --all-tags budibase/proxy
|