fix: use self-contained catalog runner image
This commit is contained in:
@@ -6,6 +6,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
catalog:
|
catalog:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: docker.m.daocloud.io/library/node:22-bookworm
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
@@ -13,10 +15,6 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
if ! command -v git >/dev/null 2>&1; then
|
|
||||||
apt-get update
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git
|
|
||||||
fi
|
|
||||||
ref="${{ gitea.sha }}"
|
ref="${{ gitea.sha }}"
|
||||||
git init .
|
git init .
|
||||||
git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git"
|
git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git"
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
catalog:
|
catalog:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: docker.m.daocloud.io/library/node:22-bookworm
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
@@ -16,10 +18,6 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
if ! command -v git >/dev/null 2>&1; then
|
|
||||||
apt-get update
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git
|
|
||||||
fi
|
|
||||||
ref="${{ gitea.sha }}"
|
ref="${{ gitea.sha }}"
|
||||||
git init .
|
git init .
|
||||||
git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git"
|
git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git"
|
||||||
|
|||||||
Reference in New Issue
Block a user