Use pre-made image for build container
This commit is contained in:
+1
-7
@@ -35,17 +35,11 @@ test:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
image: fedora:latest
|
image: registry.gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension:latest
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
- if: $CI_PIPELINE_SOURCE == "web"
|
- if: $CI_PIPELINE_SOURCE == "web"
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- .dnf_cache
|
|
||||||
script:
|
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
|
- make build
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "$CI_COMMIT_REF_NAME"
|
name: "$CI_COMMIT_REF_NAME"
|
||||||
|
|||||||
Reference in New Issue
Block a user