fix(ci): install docker client on node runner
Build & Push Portfolio Image / build-push (push) Canceled after 14m21s

- runs-on: node (node:22-bookworm doesn't have docker by default)
- Add step to install docker.io before build
- Fixes: 'docker: command not found' error
This commit is contained in:
Story Crater Bot
2026-09-05 14:19:35 -07:00
parent f116cc11db
commit c3cafb5f8a
+6 -1
View File
@@ -7,7 +7,7 @@ on:
jobs:
build-push:
runs-on: node,docker
runs-on: node
env:
REGISTRY: forgejo.riotpiao.com
IMAGE: forgejo.riotpiao.com/rock/portfolio
@@ -15,6 +15,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Docker client
run: |
apt-get update
apt-get install -y docker.io
- name: Get short SHA
id: sha
run: |