buildah-build
buildah-build copied to clipboard
GitHub Action to use 'buildah' to build a container image.
### Version redhat-actions/buildah-build@v2 ### Describe the bug We are using this action to build multiarch images on our own runners. However when a build is running on the same runner...
/usr/bin/buildah version /usr/bin/buildah version time="2022-07-19T19:40:34Z" level=warning msg="Failed to decode the keys [\"machine\"] from \"/usr/share/containers/containers.conf\"." Version: 1.22.3 Go Version: go1.15.2 Image Spec: 1.0.1-dev Runtime Spec: 1.0.2-dev CNI Spec: 0.4.0 libcni Version:...
https://github.com/containers/buildah/pull/3899/commits/bee0a1ff2ef91dc819d28317d7f20cf946b1dc25 Basically, it can be confirmed that the `TARGETPLATFORM` variable of buildah earlier than 1.26.0 is faulty. But even the buildah version in the Ubuntu 22.04 software source is only...
### Version `redhat-actions/[email protected]` ### Describe the bug First of all [documentation](https://github.com/marketplace/actions/buildah-build#the-archs-and-platforms-inputs=) is misleading in this part: > The archs and platforms arguments override the Architecture and Platform labels in the...
### Is your feature request related to a problem? Please describe. When building multi-arch image with buildx (`docker/build-push-action@v2`), builds complete much quicker than with `redhat-actions/buildah-build@v2`. It seems to me that...
### Is your feature request related to a problem? Please describe. I want to have a shorter workflow file and skip `checkout` step when all needed is to just checkout...
### Question Hi, I've seen an interesting trick at https://github.com/pyca/infra/blob/d52c449/.github/workflows/build-docker-images.yml#L58 where they use `docker build --cache-from=...` to have Docker reuse some of the layer cache from an earlier image version...
ie if you do `buildah bud -f Containerfile ./my-buildah-dir` then it should look for the containerfile at `./my-buildah-dir/Containerfile` for some reason, absolute paths are used https://github.com/redhat-actions/buildah-build/blob/main/src/index.ts#L61
We should allow multiple inputs for `port` and rename it to `ports`.
### Description This PR aims to update this GitHub Action to a recent state. Its initial aim is to use the "new" Node16 Action runtime as the currently used Node12...