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
|
cache_from: appleboy/drone-telegram
|
||||||
dockerfile: docker/Dockerfile.linux.amd64
|
dockerfile: docker/Dockerfile.linux.amd64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
repo: appleboy/drone-telegram
|
repo: appleboy/drone-telegram
|
||||||
tags: linux-amd64
|
tags: linux-amd64
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
@ -199,12 +195,8 @@ steps:
|
|||||||
cache_from: appleboy/drone-telegram
|
cache_from: appleboy/drone-telegram
|
||||||
dockerfile: docker/Dockerfile.linux.arm64
|
dockerfile: docker/Dockerfile.linux.arm64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
repo: appleboy/drone-telegram
|
repo: appleboy/drone-telegram
|
||||||
tags: linux-arm64
|
tags: linux-arm64
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
@ -284,12 +276,8 @@ steps:
|
|||||||
cache_from: appleboy/drone-telegram
|
cache_from: appleboy/drone-telegram
|
||||||
dockerfile: docker/Dockerfile.linux.arm
|
dockerfile: docker/Dockerfile.linux.arm
|
||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
repo: appleboy/drone-telegram
|
repo: appleboy/drone-telegram
|
||||||
tags: linux-arm
|
tags: linux-arm
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
@ -154,8 +154,6 @@
|
|||||||
dockerfile: 'docker/Dockerfile.' + os + '.' + arch,
|
dockerfile: 'docker/Dockerfile.' + os + '.' + arch,
|
||||||
repo: 'appleboy/' + name,
|
repo: 'appleboy/' + name,
|
||||||
cache_from: 'appleboy/' + name,
|
cache_from: 'appleboy/' + name,
|
||||||
username: { 'from_secret': 'docker_username' },
|
|
||||||
password: { 'from_secret': 'docker_password' },
|
|
||||||
},
|
},
|
||||||
when: {
|
when: {
|
||||||
event: [ 'pull_request' ],
|
event: [ 'pull_request' ],
|
||||||
|
Loading…
Reference in New Issue
Block a user