diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-03 14:44:03 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-03 14:44:03 +0100 |
commit | 8cfd7975f2fe46d0451f0f94468da2214f93f730 (patch) | |
tree | 86999da9c40eabdf68c605e38a73ee9cf9936ca1 | |
parent | b7fa336650d6d74a280216d314f2efa4cd7a5042 (diff) | |
download | podman-docker-builder-devel.tar.gz |
update multiarch templatedevel
-rw-r--r-- | gitlab-ci-template-multiarch.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gitlab-ci-template-multiarch.yml b/gitlab-ci-template-multiarch.yml index 491d76c..8735522 100644 --- a/gitlab-ci-template-multiarch.yml +++ b/gitlab-ci-template-multiarch.yml @@ -97,10 +97,11 @@ manifest: - *tag-name - TAGLIST=$(skopeo inspect docker://$CI_REGISTRY_IMAGE | jq '.RepoTags[]' | tr -d '"' | grep ${TAGNAME}-) - buildah login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - - buildah manifest create ${TAGNAME} + - buildah manifest create localhost/multiarch:${TAGNAME} - > for item in $TAGLIST; do echo "# -> $item <-"; - buildah manifest add ${TAGNAME} docker://$CI_REGISTRY_IMAGE:${item}; + buildah manifest add localhost/multiarch:${TAGNAME} docker://$CI_REGISTRY_IMAGE:${item}; done - - buildah manifest push ${TAGNAME} docker://$CI_REGISTRY_IMAGE:${TAGNAME} + - buildah manifest inspect localhost/multiarch:${TAGNAME} + - buildah manifest push -f v2s2 localhost/multiarch:${TAGNAME} docker://$CI_REGISTRY_IMAGE:${TAGNAME} |