fix: remove docker secret from dry run mode.

This commit is contained in:
Bo-Yi Wu 2019-02-23 13:17:06 +08:00
parent 13cfae1884
commit 82b1568868
2 changed files with 0 additions and 14 deletions

View File

@ -114,12 +114,8 @@ steps:
cache_from: appleboy/drone-telegram
dockerfile: docker/Dockerfile.linux.amd64
dry_run: true
password:
from_secret: docker_password
repo: appleboy/drone-telegram
tags: linux-amd64
username:
from_secret: docker_username
when:
event:
- pull_request
@ -199,12 +195,8 @@ steps:
cache_from: appleboy/drone-telegram
dockerfile: docker/Dockerfile.linux.arm64
dry_run: true
password:
from_secret: docker_password
repo: appleboy/drone-telegram
tags: linux-arm64
username:
from_secret: docker_username
when:
event:
- pull_request
@ -284,12 +276,8 @@ steps:
cache_from: appleboy/drone-telegram
dockerfile: docker/Dockerfile.linux.arm
dry_run: true
password:
from_secret: docker_password
repo: appleboy/drone-telegram
tags: linux-arm
username:
from_secret: docker_username
when:
event:
- pull_request

View File

@ -154,8 +154,6 @@
dockerfile: 'docker/Dockerfile.' + os + '.' + arch,
repo: 'appleboy/' + name,
cache_from: 'appleboy/' + name,
username: { 'from_secret': 'docker_username' },
password: { 'from_secret': 'docker_password' },
},
when: {
event: [ 'pull_request' ],