Skip to content

ci(docker): set timestamp for reproducible builds#745

Merged
gildesmarais merged 1 commit intomasterfrom
ci/reproducable-builds
Jul 5, 2025
Merged

ci(docker): set timestamp for reproducible builds#745
gildesmarais merged 1 commit intomasterfrom
ci/reproducable-builds

Conversation

@gildesmarais
Copy link
Copy Markdown
Member

Introduces a step to retrieve the latest git commit timestamp and store it in the environment. This timestamp is used as SOURCE_DATE_EPOCH during Docker image build to ensure reproducible builds by standardizing the build date.

This change improves build consistency and traceability.

https://docs.docker.com/build/ci/github-actions/reproducible-builds/

Introduces a step to retrieve the latest git commit timestamp and store it in the environment. This timestamp is used as `SOURCE_DATE_EPOCH` during Docker image build to ensure reproducible builds by standardizing the build date.

This change improves build consistency and traceability.

https://docs.docker.com/build/ci/github-actions/reproducible-builds/
@gildesmarais gildesmarais changed the title ci: set timestamp for reproducible Docker builds ci(docker): set timestamp for reproducible builds Jul 5, 2025
@gildesmarais gildesmarais marked this pull request as ready for review July 5, 2025 09:55
@gildesmarais gildesmarais merged commit fd44c1b into master Jul 5, 2025
9 checks passed
@gildesmarais gildesmarais deleted the ci/reproducable-builds branch July 5, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant