mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-04 18:24:12 +08:00
22 lines
390 B
YAML
22 lines
390 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang
|
|
commands:
|
|
- go build
|
|
- go test ./...
|
|
|
|
- name: publish
|
|
image: plugins/docker
|
|
settings:
|
|
repo: harnesscommunity/drone-helm-chart-container-registry
|
|
auto_tag: true
|
|
dockerfile: docker/Dockerfile
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|