Skip to content

use docker for linux x86 build#1625

Open
myfreess wants to merge 2 commits into
mainfrom
use-docker-for-linux-x86-build
Open

use docker for linux x86 build#1625
myfreess wants to merge 2 commits into
mainfrom
use-docker-for-linux-x86-build

Conversation

@myfreess

Copy link
Copy Markdown
Contributor

No description provided.

@semanticdiff-com

semanticdiff-com Bot commented Apr 20, 2026

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  .github/workflows/cd.yml  3% smaller
  .github/workflows/publish-ubuntu-image.yml  0% smaller
  ubuntu16.dockerfile Unsupported file format

@myfreess myfreess force-pushed the use-docker-for-linux-x86-build branch from 563b520 to ed88056 Compare April 20, 2026 02:49
Comment on lines +22 to +26
workflow_call:
outputs:
image_ref:
description: Published GHCR image reference with digest
value: ${{ jobs.publish-ubuntu-image.outputs.image_ref }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

workflow-dispatch

Comment thread .github/workflows/cd.yml

publish-ubuntu-image:
uses: ./.github/workflows/publish-ubuntu-image.yml
secrets: inherit

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Weird behavior

@myfreess myfreess force-pushed the use-docker-for-linux-x86-build branch from ed88056 to b86f193 Compare April 20, 2026 03:28
@peter-jerry-ye

Copy link
Copy Markdown
Contributor

@codex Review.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0c13f3954f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/cd.yml
Comment on lines +72 to +74
publish-ubuntu-image:
uses: ./.github/workflows/publish-ubuntu-image.yml
secrets: inherit

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Grant package write permission in reusable-workflow caller

This reusable-workflow call does not declare permissions, so it forwards only the repository default GITHUB_TOKEN scopes to the called workflow. GitHub documents that called workflows cannot elevate permissions from the caller (https://docs.github.com/en/actions/using-workflows/reusing-workflows), so when defaults are read-only, publish-ubuntu-image.yml cannot actually get packages: write and GHCR push fails in the image publish step. Set explicit caller-job permissions (at least packages: write and contents: read) here so the release flow does not depend on repo-level defaults.

Useful? React with 👍 / 👎.

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