From 80580933c0f38eaf0f960bca8cd742a1d26f79b1 Mon Sep 17 00:00:00 2001 From: damage Date: Sat, 26 Oct 2024 22:31:44 +0200 Subject: [PATCH] try date based tagging --- drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drone.yml b/drone.yml index 85a2e5f..15d9b7d 100644 --- a/drone.yml +++ b/drone.yml @@ -2,6 +2,10 @@ kind: pipeline name: default steps: +- name: tag + image: node + commands: + - echo -n "$(date +%Y%m%d_%H%M%S), latest" > .tags - name: docker image: plugins/docker settings: @@ -11,5 +15,3 @@ steps: from_secret: docker_username password: from_secret: docker_password - tags: - - latest