Skip to content

feat: show image package version and Tuxcrate link - #21

Merged
Skaronator merged 1 commit into
mainfrom
feat/container-package-version
Nov 1, 2026
Merged

Skaronator merged 1 commit into
mainfrom
feat/container-package-version

Conversation

@Skaronator

Copy link
Copy Markdown
Contributor

Summary

  • Show the full image package version (including -rN) and a clickable Tuxcrate author link in Sonarr System → Status.
  • Read PACKAGE_VERSION from the shared workflow, independently of the exact upstream installation pin. Local builds fall back to <APP_VERSION>-local.
  • Place application files in /opt/sonarr/bin with the adjacent package_info, as required by the application to read packaging metadata.
  • Verify package version and author through the authenticated status API in the runtime smoke test; update internal paths accordingly.

Dependency and rollout

Depends on tuxcrate/github-actions#31. Merge that PR first, then rerun this PR CI to test both architectures with the updated shared workflow before merging this image change.
The shared workflow also sets the full package version in org.opencontainers.image.version, while retaining the Git SHA in org.opencontainers.image.revision.

Validation

  • Uncached local amd64 builds and runtime smoke tests, including status metadata and graceful shutdown.
  • Stable 4.0.20.3014 and prerelease 5.0.0.2870 passed initially; after updating to the latest main, prerelease 5.0.0.2907 also passed. The local fallback was tested too.
  • ShellCheck, Bash syntax checks, Actionlint, and shared planner validation passed.
  • Arm64 runtime validation is left to PR CI; the local builder has no arm64 execution support.

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Container preview: stable

Built for merge commit 18eeccb0a93cfc7ed048464dccc3d98cacdddefb on linux/amd64,linux/arm64.

Pull the latest build of this PR:

docker pull ghcr.io/tuxcrate/sonarr-pr:pr-21-stable

Pull the build for this commit:

docker pull ghcr.io/tuxcrate/sonarr-pr:pr-21-stable-18eeccb0a93cfc7ed048464dccc3d98cacdddefb

Pin this exact image (tags may change on reruns):

docker pull ghcr.io/tuxcrate/sonarr-pr@sha256:2b38f837eb89bb03c27fd94bff942ab6f889c13b3e3cd3a670a8567f21cc5008

Build details. Preview images are for testing, not production.

Synthetic release.json (validation only)

Generated to validate release metadata. Revision r0 is a placeholder, not a published release revision; the digest identifies the tested multiarch artifact.

{
  "schemaVersion": 2,
  "image": "ghcr.io/tuxcrate/sonarr",
  "track": "stable",
  "version": "4.0.20.3014",
  "imageVersion": "4.0.20.3014",
  "revision": 0,
  "immutableTag": "4.0.20.3014-r0",
  "digest": "sha256:2b38f837eb89bb03c27fd94bff942ab6f889c13b3e3cd3a670a8567f21cc5008",
  "aliasesAtPublication": [
    "4.0.20.3014",
    "4",
    "4.0",
    "latest"
  ],
  "platforms": [
    "linux/amd64",
    "linux/arm64"
  ],
  "sourceCommit": "18eeccb0a93cfc7ed048464dccc3d98cacdddefb",
  "os_flavor": "alpine",
  "os_version": "3.24.3"
}

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Container preview: prerelease

Built for merge commit 18eeccb0a93cfc7ed048464dccc3d98cacdddefb on linux/amd64,linux/arm64.

Pull the latest build of this PR:

docker pull ghcr.io/tuxcrate/sonarr-pr:pr-21-prerelease

Pull the build for this commit:

docker pull ghcr.io/tuxcrate/sonarr-pr:pr-21-prerelease-18eeccb0a93cfc7ed048464dccc3d98cacdddefb

Pin this exact image (tags may change on reruns):

docker pull ghcr.io/tuxcrate/sonarr-pr@sha256:c511131ba1e6299cf5f514fe591ab5b494c0d8c2a76678e77cdad969981acd06

Build details. Preview images are for testing, not production.

Synthetic release.json (validation only)

Generated to validate release metadata. Revision r0 is a placeholder, not a published release revision; the digest identifies the tested multiarch artifact.

{
  "schemaVersion": 2,
  "image": "ghcr.io/tuxcrate/sonarr",
  "track": "prerelease",
  "version": "5.0.0.2907",
  "imageVersion": "5.0.0.2907-prerelease",
  "revision": 0,
  "immutableTag": "5.0.0.2907-prerelease-r0",
  "digest": "sha256:c511131ba1e6299cf5f514fe591ab5b494c0d8c2a76678e77cdad969981acd06",
  "aliasesAtPublication": [
    "5.0.0.2907-prerelease",
    "5-prerelease",
    "5.0-prerelease"
  ],
  "platforms": [
    "linux/amd64",
    "linux/arm64"
  ],
  "sourceCommit": "18eeccb0a93cfc7ed048464dccc3d98cacdddefb",
  "os_flavor": "alpine",
  "os_version": "3.24.3"
}

@Skaronator
Skaronator merged commit 4119533 into main Nov 1, 2026
16 checks passed
@Skaronator
Skaronator deleted the feat/container-package-version branch November 1, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant