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: jobs:
build: build:
runs-on: docker runs-on: base-image
container:
image: docker.io/node:20-bookworm
strategy: strategy:
matrix: matrix:
info: info:
@ -23,20 +21,6 @@ jobs:
- -
name: Checkout name: Checkout
uses: https://github.com/actions/checkout@v4 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 name: Prepare Platform
run: | run: |
@ -99,24 +83,8 @@ jobs:
publish-docker: publish-docker:
needs: [build] needs: [build]
runs-on: docker runs-on: base-image
container:
image: docker.io/node:20-bookworm
steps: 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 name: Download digests
uses: https://github.com/actions/download-artifact@v3 uses: https://github.com/actions/download-artifact@v3
@ -164,9 +132,7 @@ jobs:
publish-forgejo: publish-forgejo:
needs: [build] needs: [build]
runs-on: docker runs-on: base-image
container:
image: node:20-bookworm
steps: steps:
- uses: actions/forgejo-release@v1 - uses: actions/forgejo-release@v1
with: with: