Skip to content

Commit

Permalink
feat(Makefile): Add build targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Apr 23, 2024
1 parent 257541e commit 7a223c2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
build:
go build

build-linux-amd64:
GOOS=linux GOARCH=amd64 go build

docker-build-and-push:
@make docker-build
@make docker-push

docker-build:
docker build --platform linux/amd64 -t ghcr.io/sikalabs/github-apps-pull-secret-sync .

docker-push:
docker push ghcr.io/sikalabs/github-apps-pull-secret-sync

0 comments on commit 7a223c2

Please sign in to comment.