aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-11-27 12:13:57 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-12-16 14:04:20 +0100
commit78378790f3b7a7278d2382921250ef0c644641f4 (patch)
tree116a51770b8b3272c8962882ccf8dda7e32bc95f
parentf75882e8ab252d0091635d7bdf10bc1e81b71e28 (diff)
downloadpodman-docker-builder-78378790f3b7a7278d2382921250ef0c644641f4.tar.gz
add manifest
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 37c206c..e25c49d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: docker.io/centos:8
stages:
- build
+ - manifest
aarch64:
stage: build
@@ -22,3 +23,14 @@ x86_64:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --tag $CI_REGISTRY_IMAGE:x86_64 .
- docker push $CI_REGISTRY_IMAGE:x86_64
+
+manifest:
+ stage: manifest
+ script:
+ - ./configure-mirror
+ - ./configure-podman
+ - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
+ - buildah manifest create manifest
+ - buildah manifest add manifest $CI_REGISTRY_IMAGE:aarch64
+ - buildah manifest add manifest $CI_REGISTRY_IMAGE:x86_64
+ - buildah manifest push manifest $CI_REGISTRY_IMAGE:multiarch