.github/workflows/deploy.yml aktualisiert
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 7s

This commit is contained in:
bast 2026-10-31 01:57:03 +00:00
parent 9bfb3eeaae
commit 5b6a70e1e5

View file

@ -10,13 +10,14 @@ jobs:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Install Terraform via Apt-Mirror
# KORRIGIERT: Installiert OpenTofu statt Terraform – sicher gegen Rate-Limits!
- name: Install OpenTofu (Terraform Drop-In Replacement)
run: |
apt-get update && apt-get install -y curl gnupg lsb-release
curl -fsSL 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 curl
curl --proto '=https' --tlsv1.2 -fsSL https://opentofu.org | sh
# Wir erstellen einen Symlink, damit deine Pipeline 'terraform' fehlerfrei ausführen kann
ln -s /usr/local/bin/tofu /usr/local/bin/terraform
terraform --version
- name: Checkout Code
uses: actions/checkout@v4