mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-21 21:56:17 +00:00
Do not run docker prepare steps (#2626)
This commit is contained in:
parent
efbde332a3
commit
0acb65e1db
1 changed files with 20 additions and 0 deletions
|
@ -55,6 +55,16 @@ steps:
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- go mod vendor
|
- go mod vendor
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images"'
|
||||||
|
- event: pull_request
|
||||||
|
path: *when_path
|
||||||
|
- branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
- release/*
|
||||||
|
event: [push, tag]
|
||||||
|
path: *when_path
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# S e r v e r #
|
# S e r v e r #
|
||||||
|
@ -66,6 +76,16 @@ steps:
|
||||||
- corepack enable
|
- corepack enable
|
||||||
- pnpm install --frozen-lockfile
|
- pnpm install --frozen-lockfile
|
||||||
- pnpm build
|
- pnpm build
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images"'
|
||||||
|
- event: pull_request
|
||||||
|
path: *when_path
|
||||||
|
- branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
- release/*
|
||||||
|
event: [push, tag]
|
||||||
|
path: *when_path
|
||||||
|
|
||||||
cross-compile-server-preview:
|
cross-compile-server-preview:
|
||||||
image: *xgo_image
|
image: *xgo_image
|
||||||
|
|
Loading…
Reference in a new issue