From 052af870cb6d2847b67a550e64fe6e305643b330 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 17 Jun 2019 16:04:13 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a22483e..3e10104 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ stages: - build_package - install_package - check_package + - build_repo - deploy_package check_pkgbuild: @@ -24,6 +25,15 @@ build_package: - "*.log" - "*.pkg.tar.xz" +build_repo: + state: build_repo + script: + - mkdir -p local-repo + - repo-add local-repo/higherlearning.db.tar.xz + cache: + paths: + - local-repo/ + check_package: image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest stage: check_package