buildah-build
buildah-build copied to clipboard
[BUG] invalid mount type "cache"
Version
Describe the bug
Current version of the buildah in the release is 1.23.1
. I suspect ubuntu repos/package was out of date during release as it has to be there, but it was not :shrug:
Feature for --mount=type=cache
was merged and released in v1.28.2
Bellow fails:
RUN --mount=type=cache,target=/go/pkg/mod \
go mod download
Steps to reproduce, workflow links, screenshots
Would be good to cut maintenance release to bump buildah version.
This is issue with base ubuntu image :/ https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md and old package in ubuntu repos: https://packages.ubuntu.com/jammy/devel/ :/
It'd be generally nice to give the option within this repository to install the latest buildah (maybe pinned version?) from sources
This was added to buildah/podman 2+ years ago, it's pretty unfortunate the version of buildah is so our of date
https://github.com/containers/podman/issues/12062#issuecomment-950584529 https://github.com/containers/buildah/pull/3574
Using Ubuntu 24.04 would resolve the issue out of the box. It currently supports buildah v1.33.7
.