From a81546374d29cb532cfa5d7b6bf5fec46b09f696 Mon Sep 17 00:00:00 2001 From: Jade Ellis Date: Wed, 10 Sep 2025 16:40:55 +0100 Subject: [PATCH] ci: Make timelord docker work locally --- .forgejo/workflows/release-image.yml | 14 ++------------ docker/Dockerfile | 13 ++++++------- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/.forgejo/workflows/release-image.yml b/.forgejo/workflows/release-image.yml index 22571b90..8505aa18 100644 --- a/.forgejo/workflows/release-image.yml +++ b/.forgejo/workflows/release-image.yml @@ -152,17 +152,6 @@ jobs: - uses: ./.forgejo/actions/timelord id: timelord - - name: Copy timelord cache to workspace - shell: bash - run: | - mkdir -p ./timelord - if [ -d "${{ steps.timelord.outputs.database-path }}" ]; then - cp -r "${{ steps.timelord.outputs.database-path }}"/* ./timelord/ - echo "Copied timelord cache to workspace" - else - echo "No timelord cache to copy" - fi - - name: Cache Rust registry if: ${{ env.BUILDKIT_ENDPOINT == '' }} uses: actions/cache@v3 @@ -210,7 +199,8 @@ jobs: "id": "cargo-target-${{ matrix.target_cpu }}-${{ matrix.slug }}-${{ matrix.profile }}" }, "var-cache-apt-${{ matrix.slug }}": "/var/cache/apt", - "var-lib-apt-${{ matrix.slug }}": "/var/lib/apt" + "var-lib-apt-${{ matrix.slug }}": "/var/lib/apt", + "{{ steps.timelord.outputs.database-path }}":"/timelord" } skip-extraction: ${{ steps.cache.outputs.cache-hit }} diff --git a/docker/Dockerfile b/docker/Dockerfile index 4cb750e4..185c6d6c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -53,6 +53,8 @@ ENV BINSTALL_VERSION=1.13.0 ENV CARGO_SBOM_VERSION=0.9.1 # renovate: datasource=crate depName=lddtree ENV LDDTREE_VERSION=0.3.7 +# renovate: datasource=crate depName=timelord-cli +ENV TIMELORD_VERSION=3.0.1 # Install unpackaged tools RUN <