fix: remove docker secret from dry run mode.
This commit is contained in:
parent
13cfae1884
commit
82b1568868
12
.drone.yml
12
.drone.yml
@ -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
|
||||
|
@ -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' ],
|
||||
|
Loading…
Reference in New Issue
Block a user