Browse Source

ci: remove unused secrets from dryrun steps

pull/55/head
Robert Kaussow 1 month ago
parent
commit
dbc6fd28f7
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
  1. 2
      .drone.jsonnet
  2. 14
      .drone.yml

2
.drone.jsonnet

@ -48,8 +48,6 @@ local PipelineBuildContainer(arch='amd64') = {
'linux/' + std.strReplace(arch, '_', '/'),
],
repo: 'thegeeklab/${DRONE_REPO_NAME}',
username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' },
},
depends_on: ['tags'],
when: {

14
.drone.yml

@ -41,13 +41,9 @@ steps:
settings:
dockerfile: Dockerfile.amd64
dry_run: true
password:
from_secret: docker_password
platforms:
- linux/amd64
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/pull/**
@ -119,13 +115,9 @@ steps:
settings:
dockerfile: Dockerfile.arm64
dry_run: true
password:
from_secret: docker_password
platforms:
- linux/arm64/v8
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/pull/**
@ -197,13 +189,9 @@ steps:
settings:
dockerfile: Dockerfile.arm
dry_run: true
password:
from_secret: docker_password
platforms:
- linux/arm/v7
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/pull/**
@ -346,6 +334,6 @@ depends_on:
---
kind: signature
hmac: e01c71685cd5c8bc235273a450d476800abcc897ffb4855841d30b86ff7b290c
hmac: 520ad7bace767f38980a5e1c8a47c547dbd49a5e2f4260dfa0616c7f9d6964ee
...

Loading…
Cancel
Save