Skip to content

Commit

Permalink
Fix pipeline failures (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind Iyengar authored Nov 18, 2023
1 parent 3898f7a commit d2480f6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ platform:
arch: amd64
version: 1809

# Currently have to define "depth" as otherwise clone fails at
# https://github.com/drone/drone-git/blob/39d233b3d9eccc68e66508a06a725a2567f33143/windows/clone-tag.ps1#L12
clone:
depth: 20

steps:
- name: build
image: golang:1.18-windowsservercore
Expand Down Expand Up @@ -95,14 +100,12 @@ platform:
arch: amd64
version: 2022

# remove this and use upstream images when https://github.com/drone/drone-git/pull/25 is merged
# Currently have to define "depth" as otherwise clone fails at
# https://github.com/drone/drone-git/blob/39d233b3d9eccc68e66508a06a725a2567f33143/windows/clone-tag.ps1#L12
clone:
disable: true
depth: 20

steps:
- name: clone
image: rancher/drone-images:git-amd64-ltsc2022

- name: build
image: golang:1.18-windowsservercore
environment:
Expand Down

0 comments on commit d2480f6

Please sign in to comment.