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:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
runs-on: k8s
|
runs-on: k8s
|
||||||
container: node:18-bullseye
|
container: golang:1.23-bullseye
|
||||||
steps:
|
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
|
- name: Check out repository
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
git clone --depth 100 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git .
|
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
|
- name: Validate repository
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
@ -26,19 +26,19 @@ jobs:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: k8s
|
runs-on: k8s
|
||||||
container: node:18-bullseye
|
container: golang:1.23-bullseye
|
||||||
needs:
|
needs:
|
||||||
- validate
|
- validate
|
||||||
if: ${{ gitea.ref == 'refs/heads/main' }}
|
if: ${{ gitea.ref == 'refs/heads/main' }}
|
||||||
steps:
|
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
|
- name: Check out repository
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
git clone --depth 100 https://${{ secrets.GITEATOKEN }}@lab2025.duckdns.org/git/jv/my-homelab-configs.git .
|
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
|
- name: Block automatic deploy for external Gitea changes
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue