furtka/.forgejo/workflows/build-iso.yml
Daniel Maksymilian Syrnicki a6cccc67c1
Some checks failed
Build ISO / build-iso (push) Failing after 6s
CI / lint (push) Successful in 26s
CI / test (push) Successful in 33s
CI / validate-json (push) Successful in 23s
CI / markdown-links (push) Has been cancelled
ci: drop duplicate docker.sock mount in build-iso
Forgejo-runner's valid_volumes already injects /var/run/docker.sock
into every job container, so the explicit `container.volumes` mount
in the workflow triggered 'Duplicate mount point' and the job never
started. Removed — DOCKER_HOST env is enough.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 18:49:12 +02:00

43 lines
1.1 KiB
YAML

name: Build ISO
# Full ISO build is ~15-20 min. Only run on push-to-main and manual
# dispatch so feature-branch iteration stays fast. See
# memory/project_ci_branching for the rationale.
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: build-iso-${{ github.ref }}
cancel-in-progress: true
jobs:
build-iso:
runs-on: ubuntu-latest
timeout-minutes: 30
# The runner is configured for docker-outside-of-docker: its
# `valid_volumes` whitelists /var/run/docker.sock and it mounts the
# socket into every job container automatically — no need to repeat
# that mount here (it'd be a duplicate-mount error).
env:
DOCKER_HOST: unix:///var/run/docker.sock
steps:
- uses: actions/checkout@v4
- name: Build ISO
run: ./iso/build.sh
- name: Report ISO hash
run: |
iso=$(ls iso/out/*.iso | head -1)
echo "ISO: $iso"
sha256sum "$iso"
- name: Upload ISO artifact
uses: actions/upload-artifact@v4
with:
name: furtka-iso
path: iso/out/*.iso
retention-days: 14
if-no-files-found: error