Skip to content

Conversation

@davidfevre-gouv-nc
Copy link
Contributor

@davidfevre-gouv-nc davidfevre-gouv-nc commented Nov 14, 2025

Fixes #6544

Proposed Changes

This pull request introduces a minor update to the Docker build process by adding support for passing a secret to the build command.

  • Docker build customization:
    • In the build_custom_flavor function in .automation/build.py, the --secret id=GITHUB_TOKEN flag is now included in the Docker build command to allow secure access to GitHub tokens during image creation.

Readiness Checklist

Author/Contributor

  • Add entry to the CHANGELOG listing the change and linking to the corresponding issue (if appropriate)
  • If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

  • Label as breaking if this is a large fundamental change
  • Label as either automation, bug, documentation, enhancement, infrastructure, or performance

Note

Use docker buildx and pass GITHUB_TOKEN as a secret when building custom flavor images; update changelog.

Written by Cursor Bugbot for commit 61feb43. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@echoix echoix merged commit 2ca1fe4 into oxsecurity:main Nov 15, 2025
8 checks passed
@echoix echoix changed the title Add GITHUB_TOKEN in docker build command for custom flavor Add GITHUB_TOKEN in docker buildx build command for custom flavor Nov 15, 2025
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.

Custom Flavor builds fail due to missing GITHUB_TOKEN

2 participants