ci: run on ubuntu-22.04 runner label and ensure docker CLI

This commit is contained in:
dingo
2026-02-27 11:52:54 +00:00
parent 9b69a2e1de
commit 7129ff4883
+10 -1
View File
@@ -13,9 +13,18 @@ env:
jobs:
build-and-push:
runs-on: self-hosted
runs-on: ubuntu-22.04
steps:
- name: Ensure docker CLI present
run: |
set -e
if ! command -v docker >/dev/null 2>&1; then
apt-get update
apt-get install -y docker.io
fi
docker version || true
- name: Compute image tag
id: tag
run: echo "SHA=$(echo '${{ github.sha }}' | cut -c1-8)" >> "$GITHUB_OUTPUT"