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:
|
||||
runs-on: k8s
|
||||
container: golang:1.23-bullseye
|
||||
container: golang:1.23-bookworm
|
||||
needs:
|
||||
- validate
|
||||
if: ${{ gitea.ref == 'refs/heads/main' }}
|
||||
|
|
@ -38,10 +38,11 @@ jobs:
|
|||
- name: Install Toolchain (Python, Node)
|
||||
run: |
|
||||
set -e
|
||||
# Install pip via bootstrap
|
||||
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
|
||||
python3 -m pip install PyYAML
|
||||
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
||||
apt-get update && apt-get install -y nodejs
|
||||
# Install Node 18 via binary
|
||||
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
|
||||
run: |
|
||||
set -e
|
||||
|
|
|
|||
Loading…
Reference in New Issue