Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
ci/github: Set SOURCE_DATE_EPOCH
Browse files Browse the repository at this point in the history
This is important since it turns on some rpm-ostree reproducibility bits.
TODO: replicate with RHTAP
  • Loading branch information
cgwalters committed Nov 6, 2023
1 parent 669df30 commit 131a67c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Set SOURCE_DATE_EPOCH
run: echo SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) >> $GITHUB_ENV

- name: Build
run: |
rpm-ostree compose image --format=ociarchive \
Expand Down

0 comments on commit 131a67c

Please sign in to comment.