Use pre-made image for build container
This commit is contained in:
+1
-7
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user