From 88edc03b8b7a5a0e8a5481adb9769fe390594cc4 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Sat, 13 Aug 2022 13:08:18 +0200 Subject: [PATCH] Fixed tag syntax & added username & password from secret --- .drone.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0d4e56b..7520d0f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,15 +36,18 @@ steps: registry: ghcr.io repo: ghcr.io/kevinmidboe/seasoned dockerfile: Dockerfile - tags: [latest, "${DRONE_TAG}"] + tags: latest - name: Publish docker image image: plugins/docker settings: registry: ghcr.io repo: ghcr.io/kevinmidboe/seasoned - dockerfile: Dockerfile - tags: [latest, "${DRONE_TAG}"] + username: + from_secret: GITHUB_USERNAME + password: + from_secret: GITHUB_PASSWORD + tags: latest - name: deploy image: appleboy/drone-ssh