aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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