Skip to content

Commit

Permalink
drone: update fetch operation before build
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
  • Loading branch information
Vicente-Cheng committed Dec 6, 2023
1 parent ccd46e8 commit 5375720
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5375720

Please sign in to comment.