fix: use golang:1.23-bullseye container for jeannie-core
This commit is contained in:
parent
bb909f139e
commit
627d0d13b9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue