Skip to content

Use openzim/overview's reusable docker-publish workflow - #77

Merged
benoit74 merged 1 commit into
mainfrom
migrate-to-reusable-docker-publish
Dec 1, 2026
Merged

benoit74 merged 1 commit into
mainfrom
migrate-to-reusable-docker-publish

Conversation

@benoit74

Copy link
Copy Markdown
Contributor

openzim/docker-publish-action is deprecated
(openzim/docker-publish-action#10). Image building and publishing now goes through the reusable workflow in
openzim/overview,
which builds each architecture on its own native runner and merges the digests into a single multi-arch
manifest.

What the rewrite does, per the migration guide:

  • the publishing step becomes a job calling the reusable workflow (a uses: job cannot hold steps, so
    anything else the job did stays in its own job, wired with needs: to keep the original ordering)
  • restrict-to becomes an if: github.repository == ... guard on the job
  • credentials becomes the ghcr_username / ghcr_token secrets
  • on-master is renamed on-main (same meaning: the repository's default branch)
  • registries, repo_description and repo_overview are dropped: they only ever mattered for docker.io,
    which this repository does not publish to

Image names, tags, platforms, context, Dockerfile and build args are unchanged.

[openzim/docker-publish-action](https://github.com/openzim/docker-publish-action) is deprecated
(openzim/docker-publish-action#10). Image building and publishing now goes through the reusable workflow in
[openzim/overview](https://github.com/openzim/overview/blob/main/.github/workflows/docker-publish.yaml),
which builds each architecture on its own native runner and merges the digests into a single multi-arch
manifest.

What the rewrite does, per [the migration guide](https://github.com/openzim/overview/wiki/Publishing-Docker-images#migrating-from-docker-publish-action):

- the publishing step becomes a job calling the reusable workflow (a `uses:` job cannot hold `steps`, so
  anything else the job did stays in its own job, wired with `needs:` to keep the original ordering)
- `restrict-to` becomes an `if: github.repository == ...` guard on the job
- `credentials` becomes the `ghcr_username` / `ghcr_token` secrets
- `on-master` is renamed `on-main` (same meaning: the repository's default branch)
- `registries`, `repo_description` and `repo_overview` are dropped: they only ever mattered for docker.io,
  which this repository does not publish to

Image names, tags, platforms, context, Dockerfile and build args are unchanged.
@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.36%. Comparing base (8c1ef95) to head (114fe91).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #77   +/-   ##
=======================================
  Coverage   92.36%   92.36%           
=======================================
  Files           4        4           
  Lines         380      380           
  Branches       37       37           
=======================================
  Hits          351      351           
  Misses         25       25           
  Partials        4        4           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@benoit74
benoit74 merged commit 69ec13f into main Dec 1, 2026
9 checks passed
@benoit74
benoit74 deleted the migrate-to-reusable-docker-publish branch December 1, 2026 10:11
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