ci: remove unused secrets from dryrun steps
This commit is contained in:
parent
3ef213cc7e
commit
dbc6fd28f7
@ -48,8 +48,6 @@ local PipelineBuildContainer(arch='amd64') = {
|
|||||||
'linux/' + std.strReplace(arch, '_', '/'),
|
'linux/' + std.strReplace(arch, '_', '/'),
|
||||||
],
|
],
|
||||||
repo: 'thegeeklab/${DRONE_REPO_NAME}',
|
repo: 'thegeeklab/${DRONE_REPO_NAME}',
|
||||||
username: { from_secret: 'docker_username' },
|
|
||||||
password: { from_secret: 'docker_password' },
|
|
||||||
},
|
},
|
||||||
depends_on: ['tags'],
|
depends_on: ['tags'],
|
||||||
when: {
|
when: {
|
||||||
|
14
.drone.yml
14
.drone.yml
@ -41,13 +41,9 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile.amd64
|
dockerfile: Dockerfile.amd64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
@ -119,13 +115,9 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile.arm64
|
dockerfile: Dockerfile.arm64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
platforms:
|
platforms:
|
||||||
- linux/arm64/v8
|
- linux/arm64/v8
|
||||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
@ -197,13 +189,9 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile.arm
|
dockerfile: Dockerfile.arm
|
||||||
dry_run: true
|
dry_run: true
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
platforms:
|
platforms:
|
||||||
- linux/arm/v7
|
- linux/arm/v7
|
||||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
@ -346,6 +334,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: e01c71685cd5c8bc235273a450d476800abcc897ffb4855841d30b86ff7b290c
|
hmac: 520ad7bace767f38980a5e1c8a47c547dbd49a5e2f4260dfa0616c7f9d6964ee
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user