fix: use golang:1.23-bookworm and install Node via binary
This commit is contained in:
parent
4120c41c9f
commit
67659128c0
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: k8s
|
runs-on: k8s
|
||||||
container: golang:1.23-bullseye
|
container: golang:1.23-bookworm
|
||||||
needs:
|
needs:
|
||||||
- validate
|
- validate
|
||||||
if: ${{ gitea.ref == 'refs/heads/main' }}
|
if: ${{ gitea.ref == 'refs/heads/main' }}
|
||||||
|
|
@ -38,10 +38,11 @@ jobs:
|
||||||
- name: Install Toolchain (Python, Node)
|
- name: Install Toolchain (Python, Node)
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
# Install pip via bootstrap
|
||||||
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
|
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
|
||||||
python3 -m pip install PyYAML
|
python3 -m pip install PyYAML
|
||||||
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
# Install Node 18 via binary
|
||||||
apt-get update && apt-get install -y nodejs
|
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz | tar -xJ -C /usr/local --strip-components=1
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue