diff --git a/.gitea/workflows/homelab-main.yml b/.gitea/workflows/homelab-main.yml index 69d4a59..7b3d9ee 100644 --- a/.gitea/workflows/homelab-main.yml +++ b/.gitea/workflows/homelab-main.yml @@ -9,16 +9,16 @@ name: Homelab Main jobs: validate: runs-on: k8s - container: node:18-bullseye + container: golang:1.23-bullseye steps: + - name: Install Node.js and Python deps + run: | + set -e + apt-get update && apt-get install -y nodejs npm python3-yaml - name: Check out repository run: | set -e git clone --depth 100 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git . - - name: Install dependencies - run: | - set -e - apt-get update && apt-get install -y python3-yaml golang-go - name: Validate repository run: | set -e @@ -26,19 +26,19 @@ jobs: deploy: runs-on: k8s - container: node:18-bullseye + container: golang:1.23-bullseye needs: - validate if: ${{ gitea.ref == 'refs/heads/main' }} steps: + - name: Install Node.js and Python deps + run: | + set -e + apt-get update && apt-get install -y nodejs npm python3-yaml - name: Check out repository run: | set -e git clone --depth 100 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git . - - name: Install dependencies - run: | - set -e - apt-get update && apt-get install -y python3-yaml golang-go - name: Block automatic deploy for external Gitea changes run: | set -e