From a3b33e4772a88f5146e8a8a1b88a527e965165c2 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Tue, 13 Jun 2023 22:20:15 -0700 Subject: [PATCH] loading password from drone secret --- .drone.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index bff520d..a79a348 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,12 +6,17 @@ name: build steps: - name: build image image: plugins/docker + environment: + PAT: + from_secret: GiteaPat settings: - repo: 192.168.1.196:5000/jtom38/newsbot-collector - registry: 192.168.1.196:5000 - insecure: true + repo: git.jamestombleson.com/jtom38/newsbot-collector + registry: git.jamestombleson.com + username: jtom38 + password: $PAT tags: - latest + - master trigger: branch: include: