ci(forgejo): support alpine runner image

This commit is contained in:
Ashwin Kumar Sivakumar 2026-07-03 20:15:08 +05:30
parent 89ad45ac35
commit 4097d6a304

View file

@ -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: |