Skip to content

Commit 4adcc71

Browse files
Fix security hotspot
1 parent 3dd38d8 commit 4adcc71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ BASE_FOLDER="${BASE_FOLDER:-"/root/.gcp/cache"}"
1313

1414
mkdir -p ${BASE_FOLDER}
1515

16-
curl -LO https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-${GCLOUD_CLI_VERSION}-linux-x86_64.tar.gz
16+
curl --proto "=https" --fail -LO https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-${GCLOUD_CLI_VERSION}-linux-x86_64.tar.gz
1717
echo "${GCLOUD_CLI_CHECKSUM_NO_RENOVATE} google-cloud-cli-${GCLOUD_CLI_VERSION}-linux-x86_64.tar.gz" | sha256sum -c
1818
tar -xf google-cloud-cli-${GCLOUD_CLI_VERSION}-linux-x86_64.tar.gz
1919
chmod +x ./google-cloud-sdk
@@ -22,7 +22,7 @@ rm -rf google-cloud-cli-${GCLOUD_CLI_VERSION}-linux-x86_64.tar.gz
2222

2323
gcloud components install gke-gcloud-auth-plugin kubectl
2424

25-
curl -LO https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/archive/refs/tags/${MPDEV_VERSION}.tar.gz
25+
curl --proto "=https" --fail -LO https://github.com/GoogleCloudPlatform/marketplace-k8s-app-tools/archive/refs/tags/${MPDEV_VERSION}.tar.gz
2626
echo "${MPDEV_CHECKSUM_NO_RENOVATE} ${MPDEV_VERSION}.tar.gz" | sha256sum -c
2727
tar -xf ${MPDEV_VERSION}.tar.gz
2828
mv marketplace-k8s-app-tools-${MPDEV_VERSION}/scripts/dev ${BASE_FOLDER}/mpdev

0 commit comments

Comments
 (0)