Simple and tiny GitHub action to link Docker manifests easily.
docker-manifest-action is a simple and tiny GitHub action to link Docker manifests easily without managing it yourself, just input one or more images and merge multiple manifests into one Docker manifest.
Do note that docker-manifest-action is in beta stages (and might not work properly!), so please create issues so that we can make this production ready!
on:
push:
steps:
- name: Create and push manifest images
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: namespace/image:latest
images: namespace/image:latest-amd64[,namespace/other-image:latest-arm64]
push: true
Warning -- As of v0.3,
base-image
has been renamed toinputs
andextra-images
has been renamed toimages
. The former inputs will work but will be deprecated into v0.4!
Type: String
Required: True
Image name(s), optionally comma separated, that the final image manifest will be called.
inputs: namespace/image:latest
images: namespace/image:latest-amd64,namespace/image:latest-arm64
In this example, the two images from images
will be combined to create the final inputs
.
Type: String
Required: True
Comma-seperated list of images that will be applied to the merged manifest(s) defined in inputs.
inputs: namespace/image:latest
images: namespace/image:latest-amd64,namespace/image:latest-arm64
In this example, the two images from images
will be combined to create the final inputs
.
Type: Boolean
Required: False
Default:
false
If the final images should be pushed or not.
Type: Boolean
Required: False
Default:
false
If the action should apply the --amend flag to docker manifest create
(and docker manifest push
if push is true). This is useful if the action has created a manifest but had errored when creating (or pushing) a merged manifest.
Add provenance: false when using the docker/build-push-action
GitHub action before using Noelware/docker-manifest-action, related issue: #131
Thanks for considering contributing to docker-manifest-action! Before you boop your heart out on your keyboard β§ β=β‘Ξ£((( γ€β’ΜΟβ’Μ)γ€, we recommend you to do the following:
- Read the Code of Conduct
- Read the Contributing Guide
If you read both if you're a new time contributor, now you can do the following:
- Fork me! οΌ*β‘( βα΅α΄α΅β οΌ
- Clone your fork on your machine:
git clone https://github.com/your-username/docker-manifest-action
- Create a new branch:
git checkout -b some-branch-name
- Run
corepack enable
and useyarn
for this project - BOOP THAT KEYBOARD!!!! β‘βΛΝ (β γ° β)ΛΛββ‘
- Commit your changes onto your branch:
git commit -am "add features οΌο½‘>βΏβΏ<q οΌ"
- Push it to the fork you created:
git push -u origin some-branch-name
- Submit a Pull Request and then cry! qο½₯οΎοΎο½₯(ΰ°₯ Π ΰ°₯γ)ο½₯οΎοΎο½₯q
docker-manifest-action is released under the MIT License with love by Noelware! π»ββοΈπ