diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8abcdc44..f9483b35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 951714e2..095a3bf9 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -32,6 +32,9 @@ jobs: - name: Checkout repository uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + - name: Set SOURCE_DATE_EPOCH + run: echo SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) >> $GITHUB_ENV + - name: Build and Push run: | echo "${{ secrets.QUAY_PASSWORD }}" | skopeo login -u "${{ secrets.QUAY_USER }}" \