From 4097d6a304e243337fee641d2e04ebe498965889 Mon Sep 17 00:00:00 2001 From: Ashwin Kumar Sivakumar Date: Fri, 3 Jul 2026 20:15:08 +0530 Subject: [PATCH] ci(forgejo): support alpine runner image --- .gitea/workflows/build.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ab72fc2..cee4f1e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -18,10 +18,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install Docker CLI + - name: Install tooling run: | - apt-get update - apt-get install -y docker.io git python3 + set -euo pipefail + if command -v apt-get >/dev/null 2>&1; then + apt-get update + apt-get install -y docker.io git python3 + elif command -v apk >/dev/null 2>&1; then + apk add --no-cache git python3 py3-pip + fi - name: Log in to registry run: |