diff options
| -rw-r--r-- | .forgejo/workflows/mirror-sync.yml | 9 |
1 files 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" |
