From 8b734ac9f6ae6e91414b2a7ccb155cc73dc1c909 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Sat, 10 Jun 2023 12:41:02 -0400 Subject: [PATCH] hopefully authenticating into the container registry --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index 221fa99..4495d99 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,10 @@ name: publish-docker-image clone: depth: 1 +enviornment: + GITEA_AUTH_TOKEN: + from_secret: GITEA_AUTH_TOKEN + steps: - name: build-and-public-docker-image image: docker:dind @@ -12,6 +16,7 @@ steps: path: /var/run commands: - apk add git docker make + - docker login --user ndumas --password $GITEA_AUTH_TOKEN code.ndumas.com - make docker services: