Hi. I might miss something obvious - I don't have deep knowledge about containers, however, trying to migrate my docker-in-docker image building CI job to buildah, I've encountered the following problem. My image should be tagged with its real version and in addition with a special marker tag (such as "devel" or "stable" or "latest"). It seems to be a common practice with images. While in docker, I could just call:
docker build -t "$CI_REGISTRY_IMAGE:$VERSION" -t "$CI_REGISTRY_IMAGE:$MARKER_TAG" docker push $CI_REGISTRY_IMAGE"
with buildah, it is more problematic as I cannot use multiple tags on push (--all-tags switch has been also abandoned). I tried:
buildah bud -t "$CI_REGISTRY_IMAGE:$VERSION" -t "$CI_REGISTRY_IMAGE:$MARKET_TAG" buildah push "$CI_REGISTRY_IMAGE:$VERSION" "$CI_REGISTRY_IMAGE:$VERSION" buildah push "$CI_REGISTRY_IMAGE:$MARKET_TAG" "$CI_REGISTRY_IMAGE:$MARKET_TAG"
but while "buildah images --digests" shows the same digest for those two tags, in the remote repository (GitLab CI container repository) these tags have two different digests (also both differ from the local one). I suspect there could be something changed in the manifest. Q. How can I have one image (with one digests) tagged multiple times in a container repository using buildah? buildah version 1.18.0 (image-spec 1.0.1-dev, runtime-spec 1.0.2-dev) on Fedora 33. Marcin P.S. I've seen https://github.com/containers/buildah/issues/2034, but I don't know if it is related.