mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 07:43:07 +00:00
27 lines
506 B
YAML
27 lines
506 B
YAML
name: Teste Runner Bare-Metal
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
hello:
|
|
#precisa da imagem costum do opentofu
|
|
runs-on: [ fenix-opentofu ]
|
|
steps:
|
|
- name: Updating apt-get
|
|
run: |
|
|
apt-get update -y
|
|
|
|
- name: Cloning iac repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Init OpenTofu
|
|
run: tofu init
|
|
|
|
- name: Plan
|
|
run: tofu plan -out=tfplan
|
|
|
|
- name: Apply
|
|
run: tofu apply -auto-approve tfplan |