mirror of
https://github.com/thegeeklab/wp-gitea-release.git
synced 2024-11-24 13:00:40 +00:00
(fix) use correct arm runner
This commit is contained in:
parent
bd912f262f
commit
420e9f7f28
22
.drone.yml
22
.drone.yml
@ -9,7 +9,7 @@ pool:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: lint
|
- name: lint
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||||
@ -19,7 +19,7 @@ steps:
|
|||||||
- name: gopath
|
- name: gopath
|
||||||
path: "/go"
|
path: "/go"
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
commands:
|
commands:
|
||||||
- go test -cover ./...
|
- go test -cover ./...
|
||||||
volumes:
|
volumes:
|
||||||
@ -46,7 +46,7 @@ pool:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: environment
|
- name: environment
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
@ -54,7 +54,7 @@ steps:
|
|||||||
- go version
|
- go version
|
||||||
- go env
|
- go env
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
commands:
|
commands:
|
||||||
@ -80,7 +80,7 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: vm
|
||||||
name: linux-arm64
|
name: linux-arm64
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
@ -90,7 +90,7 @@ pool:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: environment
|
- name: environment
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
@ -98,7 +98,7 @@ steps:
|
|||||||
- go version
|
- go version
|
||||||
- go env
|
- go env
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
commands:
|
commands:
|
||||||
@ -134,7 +134,7 @@ pool:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: environment
|
- name: environment
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
@ -142,7 +142,7 @@ steps:
|
|||||||
- go version
|
- go version
|
||||||
- go env
|
- go env
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
commands:
|
commands:
|
||||||
@ -184,7 +184,7 @@ pool:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: environment
|
- name: environment
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
@ -192,7 +192,7 @@ steps:
|
|||||||
- go version
|
- go version
|
||||||
- go env
|
- go env
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.19
|
image: golang:1.20
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
commands:
|
commands:
|
||||||
|
Loading…
Reference in New Issue
Block a user