diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba9637..06668ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,13 @@ jobs: # Self-hosted Dockiva runner (scripts/ci-runner/README.md); fork PRs and # the CI_RUNNER=hosted fallback use GitHub-hosted ubuntu-24.04. runs-on: ${{ (github.event.pull_request.head.repo.fork || vars.CI_RUNNER == 'hosted') && 'ubuntu-24.04' || 'dockiva' }} + env: + # ponytail: Dockiva Engine (<= 0.6.10) refuses root's mkdir inside a + # read-only directory, so tar cannot restore a module cache saved with + # Go's default read-only directories, and the build then fails on the + # missing files. Keep the directories writable; drop this once the + # engine lets root write there, as Linux does. + GOFLAGS: -modcacherw steps: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: