Skip to content

ci: publish release from a single job - #44

Merged
rossigee merged 1 commit into
masterfrom
ci/release-single-publish-job
Oct 13, 2026
Merged

rossigee merged 1 commit into
masterfrom
ci/release-single-publish-job

Conversation

@rossigee

Copy link
Copy Markdown
Owner

Summary

  • The matrix release job ran the publish steps in both architecture jobs. Both created the GitHub release, pushed the same image tags and uploaded the same binaries. In the v0.4.7 run this logged error updating release asset metadata for each shared asset. All assets ended up present, but the race is in the workflow.
  • build (matrix): tests, gosec, make deb. The amd64 job also builds the binaries. Each job uploads its packages as an artifact.
  • publish (needs build, one runner): downloads the artifacts, builds and pushes the image, creates the release once, and uploads the debs once.
  • Step contents are unchanged, apart from which job they run in.

Testing

  • actionlint shows the same three shellcheck info notes that master already has. No new findings.
  • Not yet run end to end. That needs the next tag push.
  • Action majors: actions/upload-artifact@v7, actions/download-artifact@v8 (latest at time of writing).

Both matrix jobs created the GitHub release, pushed the same image tags
and uploaded the same binaries, which raced and logged 'error updating
release asset metadata' for every shared asset.

build (matrix): test, gosec, make deb; amd64 builds the binaries. Each
job uploads its packages as an artifact.
publish (needs build): downloads artifacts, pushes the image, creates the
release once and uploads the debs once.
@rossigee
rossigee merged commit 34e096d into master Oct 13, 2026
11 checks passed
@rossigee
rossigee deleted the ci/release-single-publish-job branch October 15, 2026 08:55
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