diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8c4c48d..8c9809d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -145,9 +145,17 @@ jobs: # needs: on Gitea the registry does not accept the Actions token at all, # so `packages: write` on it authorises nothing. See the login step. packages: write - steps: - uses: https://github.com/actions/checkout@v4 + # Restore refresh bookkeeping before docker build so snapshots/*.state.json + # is copied into the build context and lastConfirmedAt is preserved. + - name: Restore refresh bookkeeping + uses: https://github.com/actions/cache/restore@v4 + with: + path: snapshots/*.state.json + key: refresh-state- + restore-keys: refresh-state- + - uses: https://github.com/docker/setup-buildx-action@v3 - name: Lowercase image name