diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3a02a99..b6e7d26 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,15 +8,17 @@ on: jobs: test-and-deploy: runs-on: ubuntu-latest - # HIER: Das offizielle, voll ausgestattete Image der Pipeline-Macher container: catthehacker/ubuntu:act-latest steps: - - name: Install Terraform + # KORRIGIERT: Zieht das fertige Binary direkt ohne apt-get/Rate-Limits + - name: Install Terraform Static Binary run: | - apt-get update && apt-get install -y wget gpg lsb-release - wget -O- https://hashicorp.com | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg - echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list - apt-get update && apt-get install -y terraform + apt-get update && apt-get install -y wget unzip + wget -q https://hashicorp.com + unzip terraform_1.7.0_linux_amd64.zip + mv terraform /usr/local/bin/ + rm terraform_1.7.0_linux_amd64.zip + terraform --version - name: Checkout Code uses: actions/checkout@v4