diff --git a/common-jobs-bitbucket.sh b/common-jobs-bitbucket.sh index 4b3b6158..8bfc1683 100644 --- a/common-jobs-bitbucket.sh +++ b/common-jobs-bitbucket.sh @@ -5,6 +5,7 @@ exec > >(tee -a script.log) 2>&1 # Install the required packages # # -------------------------------------------------------------- apk upgrade && apk add curl wget zip unzip +apt-key adv --fetch-keys 'https://packages.sury.org/php/apt.gpg' > /dev/null 2>&1 curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x ./kubectl && mv ./kubectl /usr/local/bin/kubectl