From f234a61fb49064107347a4d32ef4df7407c2d93b Mon Sep 17 00:00:00 2001 From: dagecko Date: Mon, 6 Apr 2026 11:24:12 -0400 Subject: [PATCH] build: extract github.ref_name expression to env mapping (#10624) Signed-off-by: Chris Nyhuis --- .github/workflows/build-syncthing.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index 9ac4ffcf2..c25adb7dd 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -1062,7 +1062,7 @@ jobs: run: | version=${VERSION#v} repo=ghcr.io/${{ github.repository_owner }}/${{ matrix.image }} - ref="${{github.ref_name}}" + ref="${REF_NAME}" ref=${ref//\//-} # slashes to dashes # List of tags for ghcr.io @@ -1081,6 +1081,8 @@ jobs: echo Pushing to $tags echo "DOCKER_TAGS=$tags" >> $GITHUB_ENV + env: + REF_NAME: ${{github.ref_name}} - name: Prepare context dir run: | mkdir ctx