From 537572025e1fcfab6f07e7710f1ee00f28394953 Mon Sep 17 00:00:00 2001 From: Vicente Cheng Date: Wed, 6 Dec 2023 17:22:25 +0800 Subject: [PATCH] drone: update fetch operation before build Signed-off-by: Vicente Cheng --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index 43616b53..07e03fc3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,18 @@ platform: arch: amd64 steps: +- name: fetch + image: alpine/git + commands: + - git fetch --tags + when: + instance: + - drone-publish.rancher.io + ref: + - refs/tags/* + event: + - tag + - name: build image: rancher/dapper:v0.5.8 commands: