Skip to content

Commit d8f98e7

Browse files
authored
fix: cosign installation to use architecture-specific RPM
1 parent 2fb578a commit d8f98e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/almalinux-8/include/install-build-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ cp -a /include/ssh-env-config.sh /usr/local/bin
149149
# COSIGN_VERSION=$(curl https://api.github.com/repos/sigstore/cosign/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")
150150
COSIGN_VERSION=2.6.1
151151
echo "✍️ Installing cosign version ${COSIGN_VERSION}"
152-
curl -O -L "https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-${COSIGN_VERSION}-1.x86_64.rpm"
152+
curl -O -L "https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-${COSIGN_VERSION}-1.$(arch).rpm"
153153
rpm -ivh "cosign-${COSIGN_VERSION}-1.x86_64.rpm" && rm "cosign-${COSIGN_VERSION}-1.$(arch).rpm"
154154

155155
TRIVY_VERSION=$(curl -sSL https://api.github.com/repos/aquasecurity/trivy/releases/latest | jq -re '.tag_name|sub("^v";"")')

0 commit comments

Comments
 (0)