Skip to content

Commit

Permalink
feat: Move main.go into root for direct install. (#68)
Browse files Browse the repository at this point in the history
* feat: Move main.go into root for direct install.

* Add missing actions path changes.

* Corrected path in Dockerfile.
  • Loading branch information
mdjward authored Jul 8, 2023
1 parent 74888d2 commit 9dc4824
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:
- main
- release/v*
paths:
- cmd/**
- main.go
- version.txt
- internal/**
- go.mod
- go.sum
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO}

COPY . .

RUN CGO_ENABLED=0 go build ./cmd/merge-gatekeeper \
RUN CGO_ENABLED=0 go build . \
&& mv merge-gatekeeper /go/bin/

ENTRYPOINT ["/go/bin/merge-gatekeeper"]
1 change: 0 additions & 1 deletion cmd/merge-gatekeeper/version.txt

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v1.2.1

0 comments on commit 9dc4824

Please sign in to comment.