diff --git a/.gitea/workflows/playbooks.yml b/.gitea/workflows/playbooks.yml index b7057f3..8d09800 100644 --- a/.gitea/workflows/playbooks.yml +++ b/.gitea/workflows/playbooks.yml @@ -8,6 +8,8 @@ on: jobs: update-packages: runs-on: ubuntu-latest + container: + image: ghcr.io/catthehacker/ubuntu:act-latest steps: - name: Checkout repository uses: actions/checkout@v4 @@ -17,12 +19,13 @@ jobs: echo "${{ secrets.ANSIBLE_BECOME_PASS }}" > /mnt/become-pass.txt && \ chmod 600 /mnt/default-key - name: Update packages - uses: docker://alpine/ansible:2.18.6 run: | ansible-playbook -i inventory.yml --vault-pass-file /mnt/become-pass.txt --key-file /mnt/default-key playbooks/update-packages.yml prune-images: runs-on: ubuntu-latest + container: + image: ghcr.io/catthehacker/ubuntu:act-latest steps: - name: Checkout repository uses: actions/checkout@v4 @@ -32,12 +35,13 @@ jobs: echo "${{ secrets.ANSIBLE_BECOME_PASS }}" > /mnt/become-pass.txt && \ chmod 600 /mnt/default-key - name: Prune ctr images - uses: docker://alpine/ansible:2.18.6 run: | ansible-playbook -i inventory.yml --vault-pass-file /mnt/become-pass.txt --key-file /mnt/default-key playbooks/prune-k3s.yml update-proxmox: runs-on: ubuntu-latest + container: + image: ghcr.io/catthehacker/ubuntu:act-latest steps: - name: Checkout repository uses: actions/checkout@v4 @@ -47,6 +51,5 @@ jobs: echo "${{ secrets.ANSIBLE_BECOME_PASS }}" > /mnt/become-pass.txt && \ chmod 600 /mnt/default-key - name: Update proxmox nodes - uses: docker://alpine/ansible:2.18.6 run: | ansible-playbook -i inventory.yml --vault-pass-file /mnt/become-pass.txt --key-file /mnt/default-key playbooks/update-proxmox.yml