Update all images used to GHCR repo (#3154)
This commit is contained in:
@@ -7,10 +7,10 @@ metadata:
|
||||
spec:
|
||||
builder:
|
||||
command: build
|
||||
image: fission/node-builder
|
||||
image: ghcr.io/fission/node-builder
|
||||
keeparchive: false
|
||||
poolsize: 3
|
||||
runtime:
|
||||
image: fission/node-env
|
||||
image: ghcr.io/fission/node-env
|
||||
terminationGracePeriod: 20
|
||||
version: 2
|
||||
|
||||
@@ -28,6 +28,15 @@ mkdir -p func
|
||||
cp $ROOT/examples/nodejs/hello.js func/deploy.js
|
||||
cp $ROOT/examples/nodejs/hello.js func/source.js
|
||||
|
||||
# Create package.json in func directory
|
||||
cat <<EOF > func/package.json
|
||||
{
|
||||
"name": "hello",
|
||||
"version": "1.0.0",
|
||||
"description": "hello function"
|
||||
}
|
||||
EOF
|
||||
|
||||
fission spec destroy || true
|
||||
|
||||
log "Apply specs"
|
||||
|
||||
Reference in New Issue
Block a user