Skip to content

Commit 07622be

Browse files
committed
ci: try to fix static binary copy
1 parent d8f3939 commit 07622be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/static.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
- name: Copy binary
154154
run: |
155155
digest=$(jq -r '."static-builder"."${{ (fromJson(needs.prepare.outputs.push) && !matrix.debug && !matrix.mimalloc) && 'containerimage.digest' || 'containerimage.config.digest' }}"' <<< "${METADATA}")
156-
docker create --platform=${{ matrix.platform }} --name static-builder "${digest}"
156+
docker create --platform=${{ matrix.platform }} --name static-builder "${IMAGE_NAME}@${digest}"
157157
docker cp "static-builder:/go/src/app/dist/${BINARY}" "${BINARY}${{ matrix.debug && '-debug' || '' }}${{ matrix.mimalloc && '-mimalloc' || '' }}"
158158
env:
159159
METADATA: ${{ steps.build.outputs.metadata }}

0 commit comments

Comments
 (0)