From 5c7a38e121eaa45a9697fb07359c79d3157755ee Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 3 Sep 2026 10:25:02 -0700 Subject: [PATCH] docker latest: pass the dispatch tag through env, not the script Claude-Session: https://claude.ai/code/session_01A5zMqzaUg1Snur4Yg8xJGa --- .github/workflows/container_latest.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/container_latest.yml b/.github/workflows/container_latest.yml index c6cacbbfc..4702cc589 100644 --- a/.github/workflows/container_latest.yml +++ b/.github/workflows/container_latest.yml @@ -551,8 +551,11 @@ jobs: - name: Resolve the published digests id: digests + env: + BASE_TAG: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.image_tag || 'latest' }} + SUFFIX: ${{ steps.config.outputs.tag_suffix }} run: | - tag="${{ github.event_name == 'workflow_dispatch' && github.event.inputs.image_tag || 'latest' }}${{ steps.config.outputs.tag_suffix }}" + tag="${BASE_TAG}${SUFFIX}" echo "images=ghcr.io/chrislusf/seaweedfs@$(crane digest "ghcr.io/chrislusf/seaweedfs:${tag}") chrislusf/seaweedfs@$(crane digest "chrislusf/seaweedfs:${tag}")" >> "$GITHUB_OUTPUT" - name: Sign