fix name of unzip file
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-02-18 16:28:10 +01:00
parent 8441f85f88
commit 9eba0f9042
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -15,7 +15,7 @@ steps:
from_secret: serverctl_ssh_zip_key from_secret: serverctl_ssh_zip_key
commands: commands:
- apk --update add curl zip - apk --update add curl zip
- cd infrastructure && ./unzip-ssh-keys "$SSH_ZIP_KEY" && cd .. - cd infrastructure && ./unzip-ssh-keys.sh "$SSH_ZIP_KEY" && cd ..
- curl --silent --output terraform.zip "https://releases.hashicorp.com/terraform/1.1.6/terraform_1.1.6_linux_amd64.zip" - curl --silent --output terraform.zip "https://releases.hashicorp.com/terraform/1.1.6/terraform_1.1.6_linux_amd64.zip"
- unzip terraform.zip ; rm -f terraform.zip; chmod +x terraform - unzip terraform.zip ; rm -f terraform.zip; chmod +x terraform
- mkdir -p ${HOME}/bin ; export PATH=${PATH}:${HOME}/bin; mv terraform ${HOME}/bin/ - mkdir -p ${HOME}/bin ; export PATH=${PATH}:${HOME}/bin; mv terraform ${HOME}/bin/