mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-09 15:57:47 +02:00
docker latest: pass the dispatch tag through env, not the script
Claude-Session: https://claude.ai/code/session_01A5zMqzaUg1Snur4Yg8xJGa
This commit is contained in:
1 parent
0d3aebbcbe
commit
5c7a38e121
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user