From 4c44d0320b9553377cc40899e8199e4665802ffe Mon Sep 17 00:00:00 2001 From: agent Date: Sat, 7 Nov 2026 09:09:42 +0100 Subject: Use a fixed marker path: no runner.temp, no job-level env in Forgejo --- .forgejo/workflows/mirror-sync.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/mirror-sync.yml b/.forgejo/workflows/mirror-sync.yml index c4ee23c..f40f3d8 100644 --- a/.forgejo/workflows/mirror-sync.yml +++ b/.forgejo/workflows/mirror-sync.yml @@ -39,10 +39,6 @@ jobs: timeout-minutes: 30 container: image: docker:29-cli - env: - # shared by the verify and publish steps; a step-level env would not be - # visible to the next step - MARKERS_FILE: ${{ runner.temp }}/mirror-markers steps: - name: Install workflow tools # nodejs is required by actions/checkout inside this image @@ -55,6 +51,9 @@ jobs: - name: Compare upstream and mirror, verify, mark env: + # same fixed path in the publish step: Forgejo's job schema has no + # job-level env, and there is no runner.temp variable here. + MARKERS_FILE: /tmp/mirror-markers # docker:cli keeps the CLI in /usr/local/bin; the runner's DOCKER_HOST # points at the daemon, so the pull goes over the public hostname and # the real TLS/edge path. @@ -62,6 +61,8 @@ jobs: run: ./scripts/verify-mirror.sh - name: Publish marker tags + env: + MARKERS_FILE: /tmp/mirror-markers run: | set -eu file="$MARKERS_FILE" -- cgit v1.2.3