From f39b389e13054bf37907be8e93a91a80bf5dec93 Mon Sep 17 00:00:00 2001
From: Lars Seipel <ls@slrz.net>
Date: Tue, 9 Feb 2021 16:35:10 +0100
Subject: [PATCH] cicd: pack plugins into archive

---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..27f14c6
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,7 @@
+archive:
+  image: registry.access.redhat.com/ubi8/ubi
+  script:
+    - tar --numeric-owner --owner=1001 --group=0 -cJf moodle-plugins.tar.xz auth block local mod theme
+  artifacts:
+    paths:
+      - moodle-plugins.tar.xz
-- 
GitLab