Skip to content

Commit 1948adf

Browse files
committed
ci: put image under default and do not inherit it in windows jobs
1 parent 8f1fd3c commit 1948adf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ variables:
1717
HOMEBREW_CACHE: "${CI_PROJECT_DIR}/tmp/Homebrew"
1818

1919
default:
20+
image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner
2021
interruptible: true
2122
before_script:
2223
# Replace this in windows runners that use powershell
@@ -43,7 +44,6 @@ stages:
4344
- integration # Cross-platform application bundling, integration tests, and pre-release
4445
- release # Cross-platform distribution and deployment
4546

46-
image: registry.gitlab.com/matrixai/engineering/maintenance/gitlab-runner
4747

4848
check:lint:
4949
stage: check
@@ -157,6 +157,9 @@ build:linux:
157157
- if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/
158158

159159
build:windows:
160+
inherit:
161+
default:
162+
- interruptible
160163
stage: build
161164
needs: []
162165
tags:

0 commit comments

Comments
 (0)