From f44300525c1da1d384e14bac5cc3c771c8920610 Mon Sep 17 00:00:00 2001 From: Romain Vigier Date: Tue, 5 Jan 2021 12:49:05 +0100 Subject: [PATCH] Use pre-made image for build container --- .gitlab-ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee0879d..395623e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,17 +35,11 @@ test: build: stage: build - image: fedora:latest + image: registry.gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension:latest rules: - if: $CI_COMMIT_TAG - if: $CI_PIPELINE_SOURCE == "web" - cache: - paths: - - .dnf_cache script: - - mkdir -p .dnf_cache - - dnf --setopt=cachedir=$(pwd)/.dnf_cache --setopt=keepcache=True update -y - - dnf --setopt=cachedir=$(pwd)/.dnf_cache --setopt=keepcache=True install -y make gnome-shell gettext findutils - make build artifacts: name: "$CI_COMMIT_REF_NAME"