mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2026-11-16 19:40:57 +00:00
11 KiB
11 KiB
buildah-build Changelog
v3.1.0
New Features
- Sequential multi-arch builds: Add
sequentialinput to run multi-arch builds one at a time instead of in parallel. Parallel remains the default, but sequential mode avoids qemu-related failures withFROM --platform=$(BUILDPLATFORM)stages. #191 - Disable fuse-overlayfs override: Add
disable-fuse-overlayfsinput to prevent the action from overriding the storage mount program. The action now auto-detects kernel support for rootless native overlayfs (5.11+) and skips the fuse-overlayfs override when the kernel is new enough. This fixes silent data corruption and performance regressions on ubuntu-24.04 runners. #193
Bug Fixes
- Fix digest output for non-x86 multi-arch builds: The digest output failed with
image not knownwhen the manifest only contained non-amd64 images (e.g. ppc64le, s390x). The action now usesbuildah manifest inspectfor multi-arch builds, which is architecture-agnostic. #192
CI & Infrastructure
- Add workflow to rebuild bundle on Dependabot PRs. #180
- Update CODEOWNERS to use @redhat-actions/maintainers. Remove repo-level SECURITY.md in favor of org-wide default.
Dependency Updates
- Bump esbuild from 0.28.1 to 0.28.2. #187
- Bump typescript-eslint from 8.65.0 to 8.67.0. #185, #188
- Bump eslint from 10.7.0 to 10.8.1. #178, #184
- Bump @types/node from 26.1.1 to 26.2.0. #179, #183
- Bump undici from 6.27.0 to 6.28.0. #181
- Bump postcss from 8.5.22 to 8.5.25. #182
v3.0.2
Bug Fixes
- Fix container mode "image not known" error: Each containerized buildah command ran in a new disposable container with its own storage. Images built by
buildah budwere invisible to subsequentbuildah tagandbuildah imagescommands. All containerized buildah invocations now pass--root <storageRoot>to share the bind-mounted host storage. #177
CI & Infrastructure
- Add integration test for
buildah-imagecontainer mode with multiple tags. #177 - Consolidate three containerfile build workflows into one (native, containerized, case normalization). #177
v3.0.1
Bug Fixes
- Fix container mode storage permission error: The
buildah-imagefeature hardcoded the rootful storage path/var/lib/containers/storage, which fails withpermission deniedon rootless runners. The action now detects the host's actual storage root viapodman infoat runtime, with a fallback to the previous path. #175
CI & Infrastructure
- Add unit test suite using vitest and a test job in CI. #175
v3.0.0
Breaking Changes
- Node.js 24 runtime: The action now runs on the Node.js 24 runtime (
runs.using: node24). GitHub Actions runners must support this runtime. #154 - Squash defaults to true: The
squashinput now defaults totrue, matching common usage. Setsquash: falseto preserve intermediate layers. #161
New Features
- Annotations input: Add OCI annotations to images using the new
annotationsinput. Separate multiple annotations by newline. Only supported by OCI images. #161 - Container mode (
buildah-imageinput): Run buildah from a container image instead of the host-installed version. Useful for getting a newer buildah than what the runner provides. For example,buildah-image: quay.io/buildah/stable. #168 - Podman fallback: When buildah is not installed on the runner, the action automatically falls back to using
podman buildfor containerfile builds. Scratch builds still require buildah. #169 - Multiple ports: The
portinput now accepts multiple ports separated by newline. #165 - Parallel multi-arch builds: When building for multiple architectures, each architecture is now built in parallel for significantly faster builds. #167
- Architecture verification: After each multi-arch build, the action verifies the output image matches the expected architecture, catching misconfigured emulation early. #166
- Image digest output: The
digestoutput now reliably returns the content digest of the built image. #153, #165
Bug Fixes
- Fix empty entrypoint being set when the input is not provided. #161
- Fix containerfile path resolution to check both workspace and context directory. #165
- Fix digest retrieval using
buildah images --format {{.Digest}}instead ofbuildah inspectwhich returned the wrong type. #165
CI & Infrastructure
- Modernize all CI workflows: upgrade to
actions/checkout@v7,actions/setup-node@v7,ubuntu-24.04runners. #156 - Add workflow permissions, concurrency groups, and path filters. #156
- Remove broken
install_latest_buildah.shscript and simplify CI matrices. #164 - Remove defunct CRDA vulnerability scan workflow. #170
- Enable Dependabot for npm and GitHub Actions dependencies. #156
- Add CODEOWNERS, SECURITY.md. #156
Dependency Updates
- Upgrade TypeScript to 6.x. #163
- Upgrade ESLint to 10 with flat config. #156
- Upgrade
@actions/core,@actions/exec,@actions/ioto latest versions. #150, #156 - Upgrade
@types/nodeto v26. #159 - Upgrade
redhat-actions/commonto v2. #158
v2.13
- Update action to run on Node20. https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
v2.12
- Forcibly remove existing manifest before creating a new one. #103
v2.11
- Update action to run on Node16. https://github.blog/changelog/2022-05-20-actions-can-now-run-in-a-node-js-16-runtime/
v2.10
- Make image and tag in lowercase, if found in uppercase. https://github.com/redhat-actions/buildah-build/issues/89
- Add
--tls-verifyandextra-argsinput forbuildah fromcommand. https://github.com/redhat-actions/buildah-build/issues/92 - Remove kubic packages from test workflows. https://github.com/redhat-actions/buildah-build/issues/93
v2.9
- Add support for multiple archs and platforms.
- Allow building image manifest if multi arch or platform is provided.
v2.8
- Allow fully qualified image names in
tagsinput, for compatibility with docker/metadata-action`. #74 - Support for
--platformargument #65
v2.7
- Add output
image-with-tagwhich provides image name and its corresponding first tag present. - Replace input
dockerfileswithcontainerfiles. Inputdockerfileswill be present as alias ofcontainerfiles. - Add matrix to install latest buildah. (Internal)
v2.6.2
- Run
buildah configcommand beforebuildah copycommand to useworkingDirfor copying
v2.6.1
- Fix buildah-bud docs link in README
v2.6
- Rename "archs" input to "arch"
- Improve documentation for multi-architecture builds
v2.5.2
- Update README for multi-architecture builds
v2.5.1
- Fix README typo
v2.5
- Add input
extra-argsto pass extra args to buildah bud for build image using dockerfile 2f7f68e
v2.4.1
- Update README to point to podman-login action 0c92abf
v2.4
- Fix buildah issue of using
overlayas storage driver 6dbeb7e
v2.3.1
- Fix issue of workDir not being used in the code 65f18d4
v2.3
- Add Layers input for build using dockerfile 3196e5a
v2.2.1
- Add note about multi architecture(s) image built support 1f7c249
v2.2
- Add output message if tags is not provided 76570bc
v2.1
- Add
archsinput to allow building images for custom architectures 803a141
v2
- Rename
taginput totags, to allow you to build multiple tags of the same image - Add outputs
imageandtags, which output the image name and all tags of the image that was created 88e0085 - (Internal) Add CI checks to the action that includes ESlint, bundle verifier and IO checker 20a8e62
v1
- Initial marketplace release
v0.1
- Initial pre-release