From 3a59ca9431c05c2d5e4953932320ee12a1de6504 Mon Sep 17 00:00:00 2001 From: Sthope Date: Mon, 27 May 2024 18:10:29 +0200 Subject: [PATCH] Update .drone.yml --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0ae35f4..34cb0d2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,13 +9,13 @@ steps: dockerfile: Dockerfile context: . tags: - - sthopeless/my-nginx-website:latest - - sthopeless/my-nginx-website:${DRONE_COMMIT_SHA} + - ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:${DRONE_COMMIT_SHA} + - ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:latest - name: publish image: plugins/docker settings: - repo: sthopeless/my-nginx-website + repo: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME} tags: - latest - ${DRONE_COMMIT_SHA}