This commit is contained in:
42
.drone.yml
42
.drone.yml
@@ -15,46 +15,6 @@ image_pull_secrets:
|
|||||||
- dockerconfig
|
- dockerconfig
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# - name: prepare cache
|
|
||||||
# image: harbor.1sept.ru/docker/library/busybox
|
|
||||||
# commands:
|
|
||||||
# - mkdir -p /cache/${DRONE_REPO}/gocache
|
|
||||||
# - mkdir -p /cache/${DRONE_REPO}/golangcilintcache
|
|
||||||
# volumes:
|
|
||||||
# - name: cache
|
|
||||||
# path: /cache
|
|
||||||
|
|
||||||
# - name: test
|
|
||||||
# image: golangci/golangci-lint:v1.48.0
|
|
||||||
# environment:
|
|
||||||
# GOCACHE: /drone/src/gocache
|
|
||||||
# GOLANGCI_LINT_CACHE: /drone/src/golangcilintcache
|
|
||||||
# commands:
|
|
||||||
# - go mod download
|
|
||||||
# - make test
|
|
||||||
# volumes:
|
|
||||||
# - name: gocache
|
|
||||||
# path: /drone/src/gocache
|
|
||||||
# - name: golangcilintcache
|
|
||||||
# path: /drone/src/golangcilintcache
|
|
||||||
# resources:
|
|
||||||
# limits:
|
|
||||||
# memory: 3GiB
|
|
||||||
|
|
||||||
# - name: build
|
|
||||||
# image: golang:1.19
|
|
||||||
# environment:
|
|
||||||
# GOCACHE: /drone/src/gocache
|
|
||||||
# GOLANGCI_LINT_CACHE: /drone/src/golangcilintcache
|
|
||||||
# commands:
|
|
||||||
# - GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build/drone-helm cmd/drone-helm/main.go
|
|
||||||
# volumes:
|
|
||||||
# - name: gocache
|
|
||||||
# path: /drone/src/gocache
|
|
||||||
# - name: golangcilintcache
|
|
||||||
# path: /drone/src/golangcilintcache
|
|
||||||
|
|
||||||
- name: publish_linux_amd64
|
- name: publish_linux_amd64
|
||||||
image: harbor.1sept.ru/drone/drone-kaniko
|
image: harbor.1sept.ru/drone/drone-kaniko
|
||||||
settings:
|
settings:
|
||||||
@@ -71,6 +31,6 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 509505a505aecba408c446b561d685ec27e564b21c51297e9bbf68cb97c776cb
|
hmac: ab275b41f1621072152d6e85b5f94289be8dda38debd2a177e0f666960491c6e
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user