From 82b15688680e4a78d5bf90053e12889a59527685 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 23 Feb 2019 13:17:06 +0800 Subject: [PATCH] fix: remove docker secret from dry run mode. --- .drone.yml | 12 ------------ pipeline.libsonnet | 2 -- 2 files changed, 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6adb2eb..69cf788 100644 --- a/.drone.yml +++ b/.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 diff --git a/pipeline.libsonnet b/pipeline.libsonnet index 04859e4..70ab40f 100644 --- a/pipeline.libsonnet +++ b/pipeline.libsonnet @@ -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' ],