add dry-run step for pull request

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
a1012112796 2021-02-26 11:09:31 +08:00
parent a083be106f
commit b76c078f49
1 changed files with 21 additions and 0 deletions

View File

@ -51,3 +51,24 @@ steps:
from_secret: docker_password
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