diff --git a/docs/modules/ROOT/pages/getting-started.adoc b/docs/modules/ROOT/pages/getting-started.adoc index 441edf0f4..56b3f2de2 100644 --- a/docs/modules/ROOT/pages/getting-started.adoc +++ b/docs/modules/ROOT/pages/getting-started.adoc @@ -149,7 +149,8 @@ Download `cosign` from the cluster: [source,bash] ---- tas_host=$(oc get route -A -l "app.kubernetes.io/part-of=trusted-artifact-signer,app.kubernetes.io/component=client-server" -o jsonpath='{.items[0].spec.host}') -curl -sSLo cosign.gz https://${tas_host}/clients/linux/cosign-${ARCH}.gz +ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') +curl --fail --location --output cosign.gz --show-error --silent https://${tas_host}/clients/linux/cosign-${ARCH}.gz gunzip cosign.gz chmod +x cosign ----