mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-19 10:10:29 +08:00
TUN-9803: Add windows builds to gitlab-ci
This commit is contained in:
33
.ci/ci-image.gitlab-ci.yml
Normal file
33
.ci/ci-image.gitlab-ci.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
# Builds a custom CI Image when necessary
|
||||
|
||||
include:
|
||||
#####################################################
|
||||
############## Build and Push CI Image ##############
|
||||
#####################################################
|
||||
- component: $CI_SERVER_FQDN/cloudflare/ci/docker-image/build-push-image@~latest
|
||||
inputs:
|
||||
stage: pre-build
|
||||
jobPrefix: ci-image
|
||||
# runOnChangesTo: [".ci/image/**"]
|
||||
# runOnMR: true
|
||||
# runOnBranches: '^master$'
|
||||
runOnBranches: "^.+$"
|
||||
commentImageRefs: false
|
||||
runner: vm-linux-x86-4cpu-8gb
|
||||
EXTRA_DIB_ARGS: "--manifest=.ci/image/.docker-images"
|
||||
|
||||
#####################################################
|
||||
## Resolve the image reference for downstream jobs ##
|
||||
#####################################################
|
||||
- component: $CI_SERVER_FQDN/cloudflare/ci/docker-image/get-image-ref@~latest
|
||||
inputs:
|
||||
stage: pre-build
|
||||
jobPrefix: ci-image
|
||||
# runOnMR: true
|
||||
# runOnBranches: '^master$'
|
||||
runOnBranches: "^.+$"
|
||||
IMAGE_PATH: "$REGISTRY_HOST/stash/tun/cloudflared/ci-image/master"
|
||||
VARIABLE_NAME: BUILD_IMAGE
|
||||
needs:
|
||||
- job: ci-image-build-push-image
|
||||
optional: true
|
||||
Reference in New Issue
Block a user