-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce makefile to run build/release commands #17
Conversation
2bdfbb3
to
27e8b94
Compare
mageFile.go
Outdated
return errors.New("missing KO_DOCKER_REPO environment variable") | ||
} | ||
|
||
digest, err := sh.Output("ko", "build", "--base-import-paths", "--bare", |
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.
--base-... and --bare are mutually exclusive
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.
humm did not know and they not complain, which one we should use?
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.
I generally use the "base" one, but I used --bare
for the release build so KO_DOCKER_REPO
is exactly where the image goes.
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.
ok, thanks
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.
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.
IDK how folks feel about the mageFile stuff in general. It's certainly new to me.
A few general comments
if people do not like I can change to a traditional makefile |
I'd prefer to use a traditional makefile, but please also add |
@kaniini thanks for the feedback i will update that |
Signed-off-by: Carlos Panato <[email protected]>
5296969
to
c1057e9
Compare
Signed-off-by: Carlos Panato <[email protected]>
Looks good! |
on the image
cc @mattmoor @kaniini