From 9557c2fa90d98ac24969dfc53a31e890e92a3f55 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Tue, 12 Aug 2025 23:10:41 +0530 Subject: [PATCH] use ghcr.io/catthehacker/ubuntu:act-latest --- .gitea/workflows/playbooks.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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