Skip to content

Fix: SharePoint upload fails — ISO at /mnt not accessible to Docker action container#29

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-collect-rpms-job
Draft

Fix: SharePoint upload fails — ISO at /mnt not accessible to Docker action container#29
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-collect-rpms-job

Conversation

Copilot AI commented Jun 23, 2026

Copy link
Copy Markdown

The Send ISO to Sharepoint step was failing with [Error] No files matched pattern: /mnt/<iso-file> because amentumcms/sharepoint-file-upload-action@main is a Docker-based action launched by the host runner — it only has $GITHUB_WORKSPACE mounted, not /mnt. The job runs inside a UBI container with /mnt:/mnt volume, so the ISO exists on the host at /mnt/... but is invisible to the action container.

Changes

  • collect-branch.yml: Added a cp step before Send ISO to Sharepoint to stage the ISO into ${{ github.workspace }}, which is mounted in all Docker action containers. Updated file_path to reference ${{ github.workspace }} instead of ${{ env.WORKDIR }}. Added max_retries: 3.
- name: Copy ISO to workspace for SharePoint upload
  run: |
    cp ${{ env.WORKDIR }}/${{ env.REPO }}-${{ matrix.os }}-${{ needs.Date.outputs.Date }}.iso \
       ${{ github.workspace }}/

- name: Send ISO to Sharepoint
  uses: amentumcms/sharepoint-file-upload-action@main
  with:
    file_path: "${{ github.workspace }}/${{ env.REPO }}-${{ matrix.os }}-${{ needs.Date.outputs.Date }}.iso"
    ...
    max_retries: 3

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Collect-RPMs Fix: SharePoint upload fails — ISO at /mnt not accessible to Docker action container Jun 23, 2026
Copilot AI requested a review from pappasjfed June 23, 2026 17:18
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