[evince/wip/gpoo/image-rebuild: 4/4] build: Switch to Alpine




commit 7c38be323d987cd14a8edd360404960ca73182b4
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Mon Aug 29 18:45:21 2022 -0400

    build: Switch to Alpine

 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 35807dbc1..1c83bedb5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,11 +74,13 @@ update image:
         STORAGE_DRIVER: vfs
         BUILDAH_FORMAT: docker
         BUILDAH_ISOLATION: chroot
-    image: registry.fedoraproject.org/fedora:latest
+    image: alpine:latest
     stage: image
     script:
-        - dnf install -y buildah runc
+        - apk add --no-cache buildah runc
         - buildah bud --tag $IMAGE_TAG -f .gitlab-ci/ubuntu.Dockerfile
+        - buildah tag $IMAGE_TAG "$IMAGE_TAG:v$CI_JOB_ID"
+        - buildah login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
     when: manual
     # only:
     #    - web


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]