diff --git a/giautm.sh b/giautm.sh new file mode 100755 index 00000000..1109fb1e --- /dev/null +++ b/giautm.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +set -e +export GOOS=linux +export GOARCH=amd64 +IMAGE=giautm/atlas-action:dev +go build -ldflags "-s -w" -o atlas-action ./cmd/atlas-action + +docker build --platform=$GOOS/$GOARCH -t $IMAGE -f ./Dockerfile . +docker push $IMAGE