From 7f2d405d59441ad12d6f4055efcf5fa7da6744fb Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Wed, 26 Apr 2023 09:09:16 -0400 Subject: [PATCH] Update Drone --- .drone.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 07c321a..4da9513 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,15 +3,17 @@ type: kubernetes name: default steps: - - name: docker + - name: generate_tags + image: node + commands: + - echo -n "${DRONE_BRANCH}-$(date +'%Y%m%d%H%M%S')-${DRONE_COMMIT::10}, latest" > .tags + + - name: publish_docker image: plugins/docker settings: - registry: gitea.va.reichard.io repo: gitea.va.reichard.io/reichard/docs + registry: gitea.va.reichard.io username: from_secret: docker_username password: from_secret: docker_password - tags: - - latest - - ${DRONE_COMMIT}