self host
Some checks failed
/ build (map[platform:linux/arm64 suffix:linux-arm64]) (push) Failing after 18s
/ publish-forgejo (push) Successful in 4s
/ build (map[platform:linux/amd64 suffix:linux-amd64]) (push) Successful in 2m21s
/ publish-docker (push) Successful in 11s

This commit is contained in:
asonix 2024-02-08 14:35:27 -06:00
parent aa47711033
commit 63689d75e4

View file

@ -9,9 +9,7 @@ env:
jobs:
build:
runs-on: docker
container:
image: docker.io/node:20-bookworm
runs-on: base-image
strategy:
matrix:
info:
@ -23,20 +21,6 @@ jobs:
-
name: Checkout
uses: https://github.com/actions/checkout@v4
-
name: Install Docker
run: |
apt-get update
apt-get install -y ca-certificates curl jq
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
-
name: Prepare Platform
run: |
@ -99,24 +83,8 @@ jobs:
publish-docker:
needs: [build]
runs-on: docker
container:
image: docker.io/node:20-bookworm
runs-on: base-image
steps:
-
name: Install Docker
run: |
apt-get update
apt-get install -y ca-certificates curl jq
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
-
name: Download digests
uses: https://github.com/actions/download-artifact@v3
@ -164,9 +132,7 @@ jobs:
publish-forgejo:
needs: [build]
runs-on: docker
container:
image: node:20-bookworm
runs-on: base-image
steps:
- uses: actions/forgejo-release@v1
with: