From b433d4222aa89b60b76bddc6acc8fb86258e9fed Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 16 Sep 2020 08:26:19 +0200 Subject: [PATCH] golang 1.13 --- .drone.windows.yml | 16 ++++++++-------- .drone.yml | 22 +++++++++++----------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.drone.windows.yml b/.drone.windows.yml index 785cacc..1443eb2 100644 --- a/.drone.windows.yml +++ b/.drone.windows.yml @@ -10,7 +10,7 @@ platform: steps: - name: vet pull: always - image: golang:1.11-windowsservercore-1803 + image: golang:1.13-windowsservercore-1803 commands: - go vet ./... environment: @@ -21,7 +21,7 @@ steps: - name: test pull: always - image: golang:1.11-windowsservercore-1803 + image: golang:1.13-windowsservercore-1803 commands: - go test -cover ./... environment: @@ -52,7 +52,7 @@ platform: steps: - name: build-push pull: always - image: golang:1.11-windowsservercore-1803 + image: golang:1.13-windowsservercore-1803 commands: - "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/windows/amd64/drone-gitea-release.exe" environment: @@ -65,7 +65,7 @@ steps: - name: build-tag pull: always - image: golang:1.11-windowsservercore-1803 + image: golang:1.13-windowsservercore-1803 commands: - "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/windows/amd64/drone-gitea-release.exe" environment: @@ -77,7 +77,7 @@ steps: - name: executable pull: always - image: golang:1.11-windowsservercore-1803 + image: golang:1.13-windowsservercore-1803 commands: - ./release/windows/amd64/drone-gitea-release.exe --help @@ -148,7 +148,7 @@ platform: steps: - name: build-push pull: always - image: golang:1.11-windowsservercore-1809 + image: golang:1.13-windowsservercore-1809 commands: - "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/windows/amd64/drone-gitea-release.exe" environment: @@ -161,7 +161,7 @@ steps: - name: build-tag pull: always - image: golang:1.11-windowsservercore-1809 + image: golang:1.13-windowsservercore-1809 commands: - "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/windows/amd64/drone-gitea-release.exe" environment: @@ -173,7 +173,7 @@ steps: - name: executable pull: always - image: golang:1.11-windowsservercore-1809 + image: golang:1.13-windowsservercore-1809 commands: - ./release/windows/amd64/drone-gitea-release.exe --help diff --git a/.drone.yml b/.drone.yml index fa4413d..f23a5db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ platform: steps: - name: vet pull: always - image: golang:1.11 + image: golang:1.13 commands: - go vet ./... environment: @@ -20,7 +20,7 @@ steps: - name: test pull: always - image: golang:1.11 + image: golang:1.13 commands: - go test -cover ./... environment: @@ -50,7 +50,7 @@ platform: steps: - name: build-push pull: always - image: golang:1.11 + image: golang:1.13 commands: - "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-gitea-release" environment: @@ -63,7 +63,7 @@ steps: - name: build-tag pull: always - image: golang:1.11 + image: golang:1.13 commands: - "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-gitea-release" environment: @@ -75,7 +75,7 @@ steps: - name: executable pull: always - image: golang:1.11 + image: golang:1.13 commands: - ./release/linux/amd64/drone-gitea-release --help @@ -134,7 +134,7 @@ platform: steps: - name: build-push pull: always - image: golang:1.11 + image: golang:1.13 commands: - "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm64/drone-gitea-release" environment: @@ -147,7 +147,7 @@ steps: - name: build-tag pull: always - image: golang:1.11 + image: golang:1.13 commands: - "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm64/drone-gitea-release" environment: @@ -159,7 +159,7 @@ steps: - name: executable pull: always - image: golang:1.11 + image: golang:1.13 commands: - ./release/linux/arm64/drone-gitea-release --help @@ -218,7 +218,7 @@ platform: steps: - name: build-push pull: always - image: golang:1.11 + image: golang:1.13 commands: - "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/arm/drone-gitea-release" environment: @@ -231,7 +231,7 @@ steps: - name: build-tag pull: always - image: golang:1.11 + image: golang:1.13 commands: - "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/arm/drone-gitea-release" environment: @@ -243,7 +243,7 @@ steps: - name: executable pull: always - image: golang:1.11 + image: golang:1.13 commands: - ./release/linux/arm/drone-gitea-release --help