diff --git a/.drone.yml b/.drone.yml index c7b3ffe..ac9edb9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,15 @@ platform: os: linux arch: amd64 steps: +- name: send-tags-to-tags-file + image: node + when: + event: + - push + - pull_request + commands: + - echo -n "$(date +'%Y%m%d'), latest" > .tags + - name: push docker image image: plugins/docker settings: @@ -28,6 +37,15 @@ platform: os: linux arch: arm64 steps: +- name: send-tags-to-tags-file + image: node + when: + event: + - push + - pull_request + commands: + - echo -n "$(date +'%Y%m%d')-arm64, latest-arm64" > .tags + - name: push docker image image: plugins/docker settings: