-
Notifications
You must be signed in to change notification settings - Fork 43
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chuckha The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
all updated! ptal @ashish-amarnath |
cc @detiber without bazel goreleaser is really nice. |
eba883c
to
02eaf68
Compare
* Keep version information very short * Build docker images with goreleaser * Adds github workflow Signed-off-by: Chuck Ha <[email protected]>
@ashish-amarnath any thoughts on this one? I think once it merges I'm probably going to have to fix a bunch of little things in the release pipeline |
/lgtm |
/hold cancel lmk if you have any qs @detiber. I think outside of bazel this is super good. Might even be worth it with bazel. |
ADD third_party third_party | ||
|
||
RUN go install -v ./cmd/capd-manager | ||
FROM golang:1.12.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this isn't building anything, any reason not to use distroless here?
- goos: linux | ||
goarch: amd64 | ||
binaries: | ||
- capd-manager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this just use the top level Dockerfile?
What this PR does / why we need it:
This PR simplifies the version since we don't need anything but the actual tag.
It implements go releaser and uses goreleaser's strategy for building container images.
This removes using GitHub packages since those don't work for our use case.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #67
Special notes for your reviewer:
I added a service account to my own gcloud project and added the token as a secret to this project which is how this will have the correct permissions to push