Skip to content

Commit 21c752e

Browse files
authored
feat(ci): Update release pipeline to include all architecture binaries (#742)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent 8fe126c commit 21c752e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
# Binaries x86_64
107107
# TODO: add the rest of binaries
108108
# NOTE that we are not making the attestation fail if the material is not found. We will fail on "att push"
109-
echo -n '${{ steps.release.outputs.artifacts }}' | jq -r '.[] | select(.type=="Binary" and .goos=="linux" and .goarch=="amd64") | { "name": "\(.extra.ID)-\(.goos)-\(.goarch)", "path":"\(.path)"} | @base64' | while read i; do
109+
echo -n '${{ steps.release.outputs.artifacts }}' | jq -r '.[] | select(.type=="Binary" and .goos=="linux") | { "name": "\(.extra.ID)-\(.goos)-\(.goarch)", "path":"\(.path)"} | @base64' | while read i; do
110110
BINARY_NAME=$(echo "${i}" | base64 --decode | jq -r ${1} .name)
111111
BINARY_PATH=$(echo "${i}" | base64 --decode | jq -r ${1} .path)
112112
chainloop attestation add --name ${BINARY_NAME} --value ${BINARY_PATH} || true

0 commit comments

Comments
 (0)