Watch
1
0
Fork
You've already forked buildah-build
1
mirror of https://github.com/redhat-actions/buildah-build.git synced 2026-11-16 19:40:57 +00:00
buildah-build/CHANGELOG.md
Chris Brown 719e3c40d8
Update CHANGELOG and version for v3.1.0
Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-08-23 07:15:28 +01:00

152 lines
11 KiB
Markdown

# buildah-build Changelog
## v3.1.0
### New Features
- **Sequential multi-arch builds**: Add `sequential` input to run multi-arch builds one at a time instead of in parallel. Parallel remains the default, but sequential mode avoids qemu-related failures with `FROM --platform=$(BUILDPLATFORM)` stages. [#191](https://github.com/redhat-actions/buildah-build/pull/191)
- **Disable fuse-overlayfs override**: Add `disable-fuse-overlayfs` input 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](https://github.com/redhat-actions/buildah-build/pull/193)
### Bug Fixes
- **Fix digest output for non-x86 multi-arch builds**: The digest output failed with `image not known` when the manifest only contained non-amd64 images (e.g. ppc64le, s390x). The action now uses `buildah manifest inspect` for multi-arch builds, which is architecture-agnostic. [#192](https://github.com/redhat-actions/buildah-build/pull/192)
### CI & Infrastructure
- Add workflow to rebuild bundle on Dependabot PRs. [#180](https://github.com/redhat-actions/buildah-build/pull/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](https://github.com/redhat-actions/buildah-build/pull/187)
- Bump typescript-eslint from 8.65.0 to 8.67.0. [#185](https://github.com/redhat-actions/buildah-build/pull/185), [#188](https://github.com/redhat-actions/buildah-build/pull/188)
- Bump eslint from 10.7.0 to 10.8.1. [#178](https://github.com/redhat-actions/buildah-build/pull/178), [#184](https://github.com/redhat-actions/buildah-build/pull/184)
- Bump @types/node from 26.1.1 to 26.2.0. [#179](https://github.com/redhat-actions/buildah-build/pull/179), [#183](https://github.com/redhat-actions/buildah-build/pull/183)
- Bump undici from 6.27.0 to 6.28.0. [#181](https://github.com/redhat-actions/buildah-build/pull/181)
- Bump postcss from 8.5.22 to 8.5.25. [#182](https://github.com/redhat-actions/buildah-build/pull/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 bud` were invisible to subsequent `buildah tag` and `buildah images` commands. All containerized buildah invocations now pass `--root <storageRoot>` to share the bind-mounted host storage. [#177](https://github.com/redhat-actions/buildah-build/pull/177)
### CI & Infrastructure
- Add integration test for `buildah-image` container mode with multiple tags. [#177](https://github.com/redhat-actions/buildah-build/pull/177)
- Consolidate three containerfile build workflows into one (native, containerized, case normalization). [#177](https://github.com/redhat-actions/buildah-build/pull/177)
## v3.0.1
### Bug Fixes
- **Fix container mode storage permission error**: The `buildah-image` feature hardcoded the rootful storage path `/var/lib/containers/storage`, which fails with `permission denied` on rootless runners. The action now detects the host's actual storage root via `podman info` at runtime, with a fallback to the previous path. [#175](https://github.com/redhat-actions/buildah-build/pull/175)
### CI & Infrastructure
- Add unit test suite using vitest and a test job in CI. [#175](https://github.com/redhat-actions/buildah-build/pull/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](https://github.com/redhat-actions/buildah-build/pull/154)
- **Squash defaults to true**: The `squash` input now defaults to `true`, matching common usage. Set `squash: false` to preserve intermediate layers. [#161](https://github.com/redhat-actions/buildah-build/pull/161)
### New Features
- **Annotations input**: Add OCI annotations to images using the new `annotations` input. Separate multiple annotations by newline. Only supported by OCI images. [#161](https://github.com/redhat-actions/buildah-build/pull/161)
- **Container mode (`buildah-image` input)**: 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](https://github.com/redhat-actions/buildah-build/pull/168)
- **Podman fallback**: When buildah is not installed on the runner, the action automatically falls back to using `podman build` for containerfile builds. Scratch builds still require buildah. [#169](https://github.com/redhat-actions/buildah-build/pull/169)
- **Multiple ports**: The `port` input now accepts multiple ports separated by newline. [#165](https://github.com/redhat-actions/buildah-build/pull/165)
- **Parallel multi-arch builds**: When building for multiple architectures, each architecture is now built in parallel for significantly faster builds. [#167](https://github.com/redhat-actions/buildah-build/pull/167)
- **Architecture verification**: After each multi-arch build, the action verifies the output image matches the expected architecture, catching misconfigured emulation early. [#166](https://github.com/redhat-actions/buildah-build/pull/166)
- **Image digest output**: The `digest` output now reliably returns the content digest of the built image. [#153](https://github.com/redhat-actions/buildah-build/pull/153), [#165](https://github.com/redhat-actions/buildah-build/pull/165)
### Bug Fixes
- Fix empty entrypoint being set when the input is not provided. [#161](https://github.com/redhat-actions/buildah-build/pull/161)
- Fix containerfile path resolution to check both workspace and context directory. [#165](https://github.com/redhat-actions/buildah-build/pull/165)
- Fix digest retrieval using `buildah images --format {{.Digest}}` instead of `buildah inspect` which returned the wrong type. [#165](https://github.com/redhat-actions/buildah-build/pull/165)
### CI & Infrastructure
- Modernize all CI workflows: upgrade to `actions/checkout@v7`, `actions/setup-node@v7`, `ubuntu-24.04` runners. [#156](https://github.com/redhat-actions/buildah-build/pull/156)
- Add workflow permissions, concurrency groups, and path filters. [#156](https://github.com/redhat-actions/buildah-build/pull/156)
- Remove broken `install_latest_buildah.sh` script and simplify CI matrices. [#164](https://github.com/redhat-actions/buildah-build/pull/164)
- Remove defunct CRDA vulnerability scan workflow. [#170](https://github.com/redhat-actions/buildah-build/pull/170)
- Enable Dependabot for npm and GitHub Actions dependencies. [#156](https://github.com/redhat-actions/buildah-build/pull/156)
- Add CODEOWNERS, SECURITY.md. [#156](https://github.com/redhat-actions/buildah-build/pull/156)
### Dependency Updates
- Upgrade TypeScript to 6.x. [#163](https://github.com/redhat-actions/buildah-build/pull/163)
- Upgrade ESLint to 10 with flat config. [#156](https://github.com/redhat-actions/buildah-build/pull/156)
- Upgrade `@actions/core`, `@actions/exec`, `@actions/io` to latest versions. [#150](https://github.com/redhat-actions/buildah-build/pull/150), [#156](https://github.com/redhat-actions/buildah-build/pull/156)
- Upgrade `@types/node` to v26. [#159](https://github.com/redhat-actions/buildah-build/pull/159)
- Upgrade `redhat-actions/common` to v2. [#158](https://github.com/redhat-actions/buildah-build/pull/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](https://github.com/redhat-actions/buildah-build/pull/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-verify` and `extra-args` input for `buildah from` command. 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 `tags` input, for compatibility with [docker/metadata-action`](https://github.com/docker/metadata-action). [#74](https://github.com/redhat-actions/buildah-build/issues/74)
- Support for `--platform` argument [#65](https://github.com/redhat-actions/buildah-build/issues/65)
## v2.7
- Add output `image-with-tag` which provides image name and its corresponding first tag present.
- Replace input `dockerfiles` with `containerfiles`. Input `dockerfiles` will be present as alias of `containerfiles`.
- Add matrix to install latest buildah. (Internal)
## v2.6.2
- Run `buildah config` command before `buildah copy` command to use `workingDir` for 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-args` to pass extra args to buildah bud for build image using dockerfile [2f7f68e](https://github.com/redhat-actions/buildah-build/commit/2f7f68ec840393890fca056f55d0140cf909c46d)
## v2.4.1
- Update README to point to podman-login action [0c92abf](https://github.com/redhat-actions/buildah-build/commit/0c92abf30679c2b1b5329bacce9abbc3d3d94496)
## v2.4
- Fix buildah issue of using `overlay` as storage driver [6dbeb7e](https://github.com/redhat-actions/buildah-build/commit/6dbeb7e1f64c961b642625d54e551d296dafdd30)
## v2.3.1
- Fix issue of workDir not being used in the code [65f18d4](https://github.com/redhat-actions/buildah-build/commit/65f18d484c4278f73a530e03bfe9661649dc7615)
## v2.3
- Add Layers input for build using dockerfile [3196e5a](https://github.com/redhat-actions/buildah-build/commit/3196e5acb5dc5db144b00aeddd723de3d8604506)
## v2.2.1
- Add note about multi architecture(s) image built support [1f7c249](https://github.com/redhat-actions/buildah-build/commit/1f7c2499306a8def9affb31cc7d43934bb87907d)
## v2.2
- Add output message if tags is not provided [76570bc](https://github.com/redhat-actions/buildah-build/commit/76570bc65b73d4072c85224b6f6e2fef3cf2b24b)
## v2.1
- Add `archs` input to allow building images for custom architectures [803a141](https://github.com/redhat-actions/buildah-build/commit/803a1413e7c2a594cbfb6680bca358bfdbe36745)
## v2
- Rename `tag` input to `tags`, to allow you to build multiple tags of the same image
- Add outputs `image` and `tags`, which output the image name and all tags of the image that was created [88e0085](https://github.com/redhat-actions/buildah-build/commit/88e00855444b8d915b900c8251f48c291ccedce5)
- (Internal) Add CI checks to the action that includes ESlint, bundle verifier and IO checker [20a8e62](https://github.com/redhat-actions/buildah-build/commit/20a8e62ce082870ed0ff1ee141bb98ae95432501)
## v1
- Initial marketplace release
## v0.1
- Initial pre-release