Tag each image with current datetime
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
KingOfDog 2023-07-03 17:41:44 +02:00
parent bdeb649e45
commit 0067dcaf5a

View File

@ -3,6 +3,11 @@ type: docker
name: build name: build
steps: steps:
- name: generate-tags
image: node
commands:
- echo -n "$(date +'%Y-%m-%d_%H-%M'), latest" > .tags
- name: docker - name: docker
image: plugins/docker image: plugins/docker
depends_on: depends_on:
@ -13,8 +18,6 @@ steps:
password: password:
from_secret: docker_password from_secret: docker_password
repo: kingofdog/pandoc-latex repo: kingofdog/pandoc-latex
tags:
- latest
#- name: docker-arm64 #- name: docker-arm64
# image: plugins/docker # image: plugins/docker
# depends_on: # depends_on: