chainguard-dev / chainguard-dev/actions
How to use the apko-publish action with an APK image built in a previous step by the melange action?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 173
- Forks
- 83
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 11
Description
I am building a APK package, that is not (yet) included in Wolfi, in a Github Action. I am using both the setup-melange and melange-build-pkg actions.
After the package build, I would like to use that package in the apko-publish action to create an image using the local repository created by the previous step.
I have not found documentation on how to do that, unfortunately.
I got it working, so if someone wants to do something similar:
https://github.com/kastl-ars/wolfi-apkrane
TL;DR: It would be really great to have a README with each action, describing how to use the action. Especially as melange-build-package is running "on the host" aka the Github Runner (and therefore needs the setup-melange action) while e.g. apko-publish runs inside a container...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the setup-melange, melange-build-pkg, and apko-publish actions, using the linked wolfi-apkrane example as a reference for the workflow. Document how to pass a package built by melange into apko-publish through the local repository, and add usage guidance to the README for each action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100