Browse Source

ci: remove unused secrets from dryrun steps

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

2
.drone.jsonnet

@ -49,8 +49,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

@ -42,13 +42,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/**
@ -123,13 +119,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/**
@ -204,13 +196,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/**
@ -355,6 +343,6 @@ depends_on:
---
kind: signature
hmac: 58440189df0244438fb5e8111ede27f4fcf9f22b0d9d101fdeb5b4fc376f51fe
hmac: 9c09d6d4eaa2214ad7c36464ae602be8107ae7019c83f61d2ae5d01549d57230
...

Loading…
Cancel
Save