.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
8a14b9edaf
commit
6b55d6d80a
1 changed files with 8 additions and 6 deletions
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue