Skip to content
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

Support SOURCE_DATE_EPOCH in tkn bundle push #2136

Closed
zregvart opened this issue Sep 27, 2023 · 0 comments · Fixed by #2137
Closed

Support SOURCE_DATE_EPOCH in tkn bundle push #2136

zregvart opened this issue Sep 27, 2023 · 0 comments · Fixed by #2137
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@zregvart
Copy link
Contributor

Feature request

Getting the created time from SOURCE_DATE_EPOCH is an encouraged standard, see https://reproducible-builds.org/specs/source-date-epoch/. tkn bundle push should support it.

Use case

This helps in wider build pipelines when folk define SOURCE_DATE_EPOCH for multiple build tools.

UI Example

With this, the --ctime would get set to 1970-01-01T00:00:00Z:

$ export SOURCE_DATE_EPOCH=0
$ tkn bundle push -f ...
@zregvart zregvart added the kind/feature Categorizes issue or PR as related to a new feature. label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant