Install Node.js manually instead of using container
This commit is contained in:
@@ -4,9 +4,13 @@ on: [push, workflow_dispatch]
|
|||||||
jobs:
|
jobs:
|
||||||
kaniko-build:
|
kaniko-build:
|
||||||
runs-on: macos-m1
|
runs-on: macos-m1
|
||||||
container:
|
|
||||||
image: node:20-buster
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: |
|
||||||
|
if [ -f /etc/alpine-release ]; then
|
||||||
|
apk add --no-cache nodejs git
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user