.github/workflows/deploy.yml aktualisiert
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 7s
Some checks failed
Build, Push and GitOps Deploy / test-and-deploy (push) Failing after 7s
This commit is contained in:
parent
9bfb3eeaae
commit
5b6a70e1e5
1 changed files with 7 additions and 6 deletions
13
.github/workflows/deploy.yml
vendored
13
.github/workflows/deploy.yml
vendored
|
|
@ -10,13 +10,14 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install Terraform via Apt-Mirror
|
# KORRIGIERT: Installiert OpenTofu statt Terraform – sicher gegen Rate-Limits!
|
||||||
|
- name: Install OpenTofu (Terraform Drop-In Replacement)
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y curl gnupg lsb-release
|
apt-get update && apt-get install -y curl
|
||||||
curl -fsSL https://hashicorp.com | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
curl --proto '=https' --tlsv1.2 -fsSL https://opentofu.org | sh
|
||||||
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
|
# Wir erstellen einen Symlink, damit deine Pipeline 'terraform' fehlerfrei ausführen kann
|
||||||
apt-get update && apt-get install -y terraform
|
ln -s /usr/local/bin/tofu /usr/local/bin/terraform
|
||||||
|
terraform --version
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue