From 2fdfbe55d4b9836d832997a1521561a5ed2ca18b Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Tue, 12 Aug 2025 23:41:02 +0530 Subject: [PATCH] refactor: switch container image to alpine/ansible for all jobs --- .gitea/workflows/playbooks.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/playbooks.yml b/.gitea/workflows/playbooks.yml index 8d09800..de3a242 100644 --- a/.gitea/workflows/playbooks.yml +++ b/.gitea/workflows/playbooks.yml @@ -9,12 +9,12 @@ jobs: update-packages: runs-on: ubuntu-latest container: - image: ghcr.io/catthehacker/ubuntu:act-latest + image: alpine/ansible:2.18.6 steps: - - name: Checkout repository - uses: actions/checkout@v4 - name: Setup environment run: | + apk add git + git clone https://gitea.akshun-lab.uk/akshun/ansible.git /mnt echo -e "${{ secrets.ANSIBLE_PRIVATE_KEY }}" > /mnt/default-key && \ echo "${{ secrets.ANSIBLE_BECOME_PASS }}" > /mnt/become-pass.txt && \ chmod 600 /mnt/default-key @@ -25,12 +25,12 @@ jobs: prune-images: runs-on: ubuntu-latest container: - image: ghcr.io/catthehacker/ubuntu:act-latest + image: alpine/ansible:2.18.6 steps: - - name: Checkout repository - uses: actions/checkout@v4 - name: Setup environment run: | + apk add git + git clone https://gitea.akshun-lab.uk/akshun/ansible.git /mnt echo -e "${{ secrets.ANSIBLE_PRIVATE_KEY }}" > /mnt/default-key && \ echo "${{ secrets.ANSIBLE_BECOME_PASS }}" > /mnt/become-pass.txt && \ chmod 600 /mnt/default-key @@ -41,12 +41,12 @@ jobs: update-proxmox: runs-on: ubuntu-latest container: - image: ghcr.io/catthehacker/ubuntu:act-latest + image: alpine/ansible:2.18.6 steps: - - name: Checkout repository - uses: actions/checkout@v4 - name: Setup environment run: | + apk add git + git clone https://gitea.akshun-lab.uk/akshun/ansible.git /mnt echo -e "${{ secrets.ANSIBLE_PRIVATE_KEY }}" > /mnt/default-key && \ echo "${{ secrets.ANSIBLE_BECOME_PASS }}" > /mnt/become-pass.txt && \ chmod 600 /mnt/default-key