93da924aab96ea496cefb35df53913e1f291d90d
If the provided container image name includes a `/` character, the build will fail when copying the OCI image to a tarball: > + buildah push git.pyrocufflink.net/containerimages/build/selinux:dev-ci oci-archive:/home/jenkins/agent/workspace/ainerImages_build.selinux_dev_ci/build/selinux-amd64.tar > Error: lstat /home/jenkins/agent/workspace/ainerImages_build.selinux_dev_ci/build: no such file or directory To resolve this, we need to escape the image name when constructing the path to the tar file.
Container Images Shared Library
This shared library allows jobs to build and publish container images to Gitea very easily:
buildContainerImage()
That's it!
Description
Languages
Groovy
100%