Skip to content

build-apps: publish apps images to armbian/distribution - #48

Merged
igorpecovnik merged 1 commit into
mainfrom
apps-upload-to-distribution
Aug 8, 2026
Merged

build-apps: publish apps images to armbian/distribution#48
igorpecovnik merged 1 commit into
mainfrom
apps-upload-to-distribution

Conversation

@igorpecovnik

Copy link
Copy Markdown
Member

Symptom

The apps build (run 31269092676) publishes the appliance images (Home Assistant / OMV / Kali) to armbian/ci releases instead of armbian/distribution, where the old scripts put them.

Cause

build-apps.yml set release_repository: "distribution" — but that value is only a label (used for the storage cache path …/cache/distribution/… and to gate the upload step). The actual GitHub repo the release is uploaded to is release_target_repository, and build-apps.yml never set it. In complete-artifact-matrix.yml / build-images-chunk.yml it then defaults to:

RELEASE_TARGET_REPOSITORY: ${{ inputs.release_target_repository || github.repository }}   # -> armbian/ci

and the upload step uses it directly:

- uses: softprops/action-gh-release@v3
  with:
    repository: ${{ env.RELEASE_TARGET_REPOSITORY }}

build-community.yml gets this right by overriding release_target_repository: "armbian/community"; apps was missing the equivalent line.

Fix

release_repository: "distribution"
release_target_repository: "armbian/distribution"   # <-- added

GH_TOKEN is already secrets.ACCESS_TOKEN (the cross-repo-write PAT that publishes the community releases), so no secret change is needed provided that PAT has write access to armbian/distribution — worth a quick confirm before the next apps run.

The apps build set release_repository: "distribution" (a label used for the
cache path and to gate the upload step) but never set
release_target_repository, so it fell back to the default
`github.repository` (armbian/ci). The release-upload step
(softprops/action-gh-release, repository: RELEASE_TARGET_REPOSITORY) therefore
published the appliance images (Home Assistant / OMV / Kali) to armbian/ci
releases instead of armbian/distribution, where the old scripts put them.

Set release_target_repository: "armbian/distribution", mirroring how
build-community.yml overrides it to armbian/community. GH_TOKEN is already
secrets.ACCESS_TOKEN (the cross-repo-write PAT used for the community
releases), so no secret change is needed provided it has write access to
armbian/distribution.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f9579d75-4cbc-4982-b509-85b670b8e6d8

📥 Commits

Reviewing files that changed from the base of the PR and between 78214af and 1557e6c.

📒 Files selected for processing (1)
  • .github/workflows/build-apps.yml

Disabled knowledge base sources:

  • Jira integration is disabled

You can enable these sources in your CodeRabbit configuration.


Walkthrough

The Build Apps Images workflow now sets release_target_repository to armbian/distribution when it invokes the reusable complete-artifact-matrix workflow.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch apps-upload-to-distribution

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@igorpecovnik
igorpecovnik merged commit ad814be into main Aug 8, 2026
1 check was pending
@igorpecovnik
igorpecovnik deleted the apps-upload-to-distribution branch August 8, 2026 17:57
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.

1 participant