From b8ae0d22e774c5098a50cbcc04c077a7b6dbf8a0 Mon Sep 17 00:00:00 2001 From: Varakh Date: Thu, 12 Dec 2024 08:32:09 +0100 Subject: [PATCH] feat(pipeline): use custom executor image --- .forgejo/workflows/build.yaml | 10 +--------- .forgejo/workflows/release.yaml | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index a89ae5d..54c6404 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -10,16 +10,8 @@ jobs: build: runs-on: docker container: - image: node:20-bookworm + image: git.myservermanager.com/msm/forgejo-base-executor-image-make-cgo:latest 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 uses: actions/setup-node@v4 with: diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index 49b5cff..3057d0c 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -15,16 +15,8 @@ jobs: release: runs-on: docker container: - image: node:20-bookworm + image: git.myservermanager.com/msm/forgejo-base-executor-image-make-cgo:latest 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 uses: actions/setup-node@v4 with: