Skip to content

Fix Build docs CI: pin docker-coq-action to coqorg/coq:8.20.1 - #47

Merged
samvang merged 2 commits into
mainfrom
copilot/fix-build-docs-job
Aug 11, 2026
Merged

samvang merged 2 commits into
mainfrom
copilot/fix-build-docs-job

Conversation

Copilot AI commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

docker-coq-action@v1 with no custom_image or coq_version specified defaults to rocq/rocq-prover:latest (Rocq 9.2.0), which has no coq group. This caused sudo chown -R coq:coq . in before_script to fail immediately, aborting the job before any build commands ran.

Changes

  • .github/workflows/build_docs.yml: Add custom_image: coqorg/coq:8.20.1 to the docker-coq-action step, matching the image already declared at the job-container level and satisfying the coq:coq ownership workaround.
- name: "Run coq-community/docker-coq-action@v1 with debian:10"
  uses: coq-community/docker-coq-action@v1
  with:
    custom_image: coqorg/coq:8.20.1   # was missing; defaulted to rocq/rocq-prover:latest
    before_script: |
      startGroup "Workaround permission issue"
        sudo chown -R coq:coq .
      endGroup

The docker-coq-action was defaulting to rocq/rocq-prover:latest which
lacks the coq:coq user/group, causing `sudo chown -R coq:coq .` to fail
in the before_script. Explicitly set custom_image to coqorg/coq:8.20.1
to match the intended image used by the project.

Co-authored-by: samvang <59202064+samvang@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Build docs Fix Build docs CI: pin docker-coq-action to coqorg/coq:8.20.1 Aug 11, 2026
Copilot AI requested a review from samvang August 11, 2026 09:24
@samvang
samvang marked this pull request as ready for review August 11, 2026 09:41
@samvang
samvang merged commit cf97c7f into main Aug 11, 2026
4 checks passed
@samvang
samvang deleted the copilot/fix-build-docs-job branch August 11, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants