Skip to content

Commit

Permalink
chore: added script to build my image
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Dec 17, 2024
1 parent 6b42f3b commit 6e4a97f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions giautm.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6e4a97f

Please sign in to comment.