From 6c570f6217888142dd9909be92e0703a78567d88 Mon Sep 17 00:00:00 2001 From: jv Date: Thu, 17 Sep 2026 22:12:43 -0500 Subject: [PATCH] fix: set container image for k8s runner to provide node/python --- .gitea/workflows/homelab-main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/homelab-main.yml b/.gitea/workflows/homelab-main.yml index ef481fb..fcb0cb0 100644 --- a/.gitea/workflows/homelab-main.yml +++ b/.gitea/workflows/homelab-main.yml @@ -9,12 +9,17 @@ name: Homelab Main jobs: validate: runs-on: k8s + container: + image: node:18-bullseye steps: - name: Check out repository uses: actions/checkout@v4 with: ref: ${{ gitea.sha }} + uses: actions/checkout@v4 + with: + ref: ${{ gitea.sha }} - name: Validate repository run: | set -euo pipefail @@ -23,6 +28,8 @@ jobs: deploy: runs-on: k8s + container: + image: node:18-bullseye needs: - validate if: ${{ gitea.ref == 'refs/heads/main' }} @@ -32,6 +39,9 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ gitea.sha }} + uses: actions/checkout@v4 + with: + ref: ${{ gitea.sha }} - name: Block automatic deploy for external Gitea changes run: | set -euo pipefail