Closed lcarva closed 2 years ago
This action is a JavaScript action, not a Docker action, and so does not have an image tied to it. It uses whatever image you specify in the job's runs-on
. Usually, this is a GitHub runner, eg ubuntu-20.04
.
According to https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md buildah is v1.12.3 as you've identified.
So there are 3 approaches
1) Update buildah at the start of your workflow. You can refer to our test script that does this and workflows that use this script.
2) Open an issue in https://github.com/actions/virtual-environments/issues to update buildah and they will usually turn it around in about two weeks.
3) Use your own self-hosted runner with updated buildah and update runs-on
accordingly. The OpenShift buildah runner would be a useful example if you go this route.
@tetchel, thanks for the thorough explanation.
Because the version I'm looking for is not yet in Ubuntu, nor in Kubic, the only option I have is to build it from source which has not been straight forward.
I'll just wait until the newer version lands in Kubic or Ubuntu instead.
Question
The current buildah version installed in the action image,
1.21.3
, does not support using both digest and tag in an image reference in the Dockerfile:I have
1.23.0
installed locally which seems to have this support:I think simply updating the buildah version used in the action image should do the trick because 1.23.0 is already released in opensuse: https://software.opensuse.org/package/buildah