mirror of https://gitea.com/gitea/test-env.git
add dry-run step for pull request
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
a083be106f
commit
b76c078f49
21
.drone.yml
21
.drone.yml
|
@ -51,3 +51,24 @@ steps:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: dry-run
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: dryrun
|
||||||
|
pull: always
|
||||||
|
image: plugins/docker:linux-arm64
|
||||||
|
settings:
|
||||||
|
dry_run: true
|
||||||
|
repo: gitea/test_env
|
||||||
|
tags: linux-arm64
|
||||||
|
|
Loading…
Reference in New Issue