Merge pull request 'Update node Docker tag to v22' (#10) from renovate/node-22.x into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #10
This commit is contained in:
commit
a91bb9dc4f
@ -6,6 +6,17 @@
|
||||
depth: 15
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: docker
|
||||
commands:
|
||||
- apk add curl
|
||||
- docker build .
|
||||
when:
|
||||
branch:
|
||||
exclude: ["master", "main"]
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
build:
|
||||
image: docker
|
||||
commands:
|
||||
@ -17,6 +28,7 @@ steps:
|
||||
- 'curl http://100.113.98.36:4000/api/update -H "Authorization: Bearer $COMPOSE_TOKEN"'
|
||||
secrets: [docker_username, docker_password, compose_token]
|
||||
when:
|
||||
branch: "master"
|
||||
branch:
|
||||
include: ["master", "main"]
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM node:21 AS builder
|
||||
FROM node:22 AS builder
|
||||
|
||||
COPY . /src
|
||||
WORKDIR /src
|
||||
|
2
index.js
2
index.js
@ -1,7 +1,7 @@
|
||||
import { load } from "cheerio";
|
||||
import { readFile, writeFile } from "fs";
|
||||
import process from "child_process";
|
||||
import stores from "./stores.json" assert { type: "json" };
|
||||
import stores from "./stores.json" with { type: "json" };
|
||||
|
||||
function GetRecentChanges() {
|
||||
const res = process
|
||||
|
Loading…
Reference in New Issue
Block a user