Replies: 3 comments 4 replies
-
I think this make sense to support, but maybe not directly in the |
Beta Was this translation helpful? Give feedback.
-
Just curious - does your build process create commits? Wondering why injecting the value before build-time wouldn't be sufficient? like, |
Beta Was this translation helpful? Give feedback.
-
RFC here: paketo-buildpacks/rfcs#39 |
Beta Was this translation helpful? Give feedback.
-
While trying to build a go app with the go buildpack, we hit a snag trying to inject the git sha at build-time. In a dockerfile it might look something like:
The go buildpack supports buildtime flags for the
-ldflags ...
part but there isn't an easy way to extract the first part where the sha is deduced. Would this be something y'all would be interesting in creating?Beta Was this translation helpful? Give feedback.
All reactions