budibase/hosting/scripts/linux/release-to-docker-hub.sh

17 lines
386 B
Bash
Raw Normal View History

#!/bin/bash
tag=$1
tag=${tag:-latest}
echo "Tagging images with SHA: $GITHUB_SHA and tag: $tag"
2021-05-20 13:38:12 +02:00
docker tag app-service:$tag budibase/apps:$tag
docker tag worker-service:$tag budibase/worker:$tag
2021-05-20 13:38:12 +02:00
# Tag with git sha
docker tag app-service:$tag budibase/apps:$GITHUB_SHA
docker tag worker-service:$tag budibase/worker:$GITHUB_SHA
2021-05-20 13:38:12 +02:00
2021-05-20 13:46:31 +02:00
docker push budibase/apps
docker push budibase/worker