Skip to content

Commit

Permalink
Do not run docker prepare steps (#2626)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 committed Oct 23, 2023
1 parent efbde33 commit 0acb65e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .woodpecker/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ steps:
pull: true
commands:
- 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 #
Expand All @@ -66,6 +76,16 @@ steps:
- corepack enable
- pnpm install --frozen-lockfile
- 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:
image: *xgo_image
Expand Down

0 comments on commit 0acb65e

Please sign in to comment.