Skip to content

Commit 4968e2d

Browse files
authored
feat(release): Add missing amd64 binaries (#771)
1 parent 090eae1 commit 4968e2d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/contracts/chainloop-vault-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ materials:
3636
name: chainloop-plugin-smtp-linux-amd64
3737
- type: ARTIFACT
3838
name: chainloop-plugin-dependency-track-linux-amd64
39+
- type: ARTIFACT
40+
name: cli-darwin-arm64
41+
output: true
42+
- type: ARTIFACT
43+
name: cli-darwin-amd64
44+
output: true

.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") | { "name": "\(.extra.ID)-\(.goos)-\(.goarch)", "path":"\(.path)"} | @base64' | while read i; do
109+
echo -n '${{ steps.release.outputs.artifacts }}' | jq -r '.[] | select(.type=="Binary") | { "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)