.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:
|
jobs:
|
||||||
test-and-deploy:
|
test-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# HIER: Das offizielle, voll ausgestattete Image der Pipeline-Macher
|
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install Terraform
|
# KORRIGIERT: Zieht das fertige Binary direkt ohne apt-get/Rate-Limits
|
||||||
|
- name: Install Terraform Static Binary
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y wget gpg lsb-release
|
apt-get update && apt-get install -y wget unzip
|
||||||
wget -O- https://hashicorp.com | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
wget -q https://hashicorp.com
|
||||||
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
|
unzip terraform_1.7.0_linux_amd64.zip
|
||||||
apt-get update && apt-get install -y terraform
|
mv terraform /usr/local/bin/
|
||||||
|
rm terraform_1.7.0_linux_amd64.zip
|
||||||
|
terraform --version
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue