Repository navigation
Use openzim/overview's reusable docker-publish workflow - #77
Merged
Merged
Conversation
[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 Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
uses:job cannot holdsteps, soanything else the job did stays in its own job, wired with
needs:to keep the original ordering)restrict-tobecomes anif: github.repository == ...guard on the jobcredentialsbecomes theghcr_username/ghcr_tokensecretson-masteris renamedon-main(same meaning: the repository's default branch)registries,repo_descriptionandrepo_overvieware 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.