#!/bin/bash set -e go mod tidy go mod vendor echo echo "# Local Build" go build -o ~/bin/helios cmd/main.go echo echo "# Docker Build" docker build -t helios:latest . du -sm ~/bin/helios docker image ls helios:latest echo echo "# Tag" docker tag helios:latest bmallenxs/heliosci:latest docker tag helios:latest heliosci/helios:latest echo echo "# Publish" echo docker push bmallenxs/heliosci:latest echo docker push heliosci/helios:latest