feat(pipeline): use custom executor image
All checks were successful
/ build (push) Successful in 4m57s
All checks were successful
/ build (push) Successful in 4m57s
This commit is contained in:
parent
4a5f229297
commit
b8ae0d22e7
2 changed files with 2 additions and 18 deletions
|
@ -10,16 +10,8 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:20-bookworm
|
image: git.myservermanager.com/msm/forgejo-base-executor-image-make-cgo:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare requirements
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y curl wget bash apt-transport-https ca-certificates gnupg zstd clang
|
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg
|
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
||||||
apt-get update
|
|
||||||
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin
|
|
||||||
- name: Set up node
|
- name: Set up node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -15,16 +15,8 @@ jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:20-bookworm
|
image: git.myservermanager.com/msm/forgejo-base-executor-image-make-cgo:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare requirements
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y curl wget bash apt-transport-https ca-certificates gnupg zstd clang
|
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker.gpg
|
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
||||||
apt-get update
|
|
||||||
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin
|
|
||||||
- name: Set up node
|
- name: Set up node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue