godns/.drone.yml

35 lines
640 B
YAML
Raw Normal View History

2019-06-02 20:52:51 +00:00
kind: pipeline
name: amd64
2021-04-15 03:44:56 +00:00
type: docker
2019-06-02 20:52:51 +00:00
steps:
- name: build
image: golang:alpine
volumes:
- name: build
path: /build
commands:
- apk --no-cache add git gcc musl-dev
- go build -o /build/godns
2019-06-02 20:52:51 +00:00
- name: docker
image: plugins/docker
volumes:
- name: build
path: /build
2019-06-02 20:52:51 +00:00
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.meow.tf/joker/godns
registry: registry.meow.tf
tags:
- amd64-latest
when:
branch:
- master
volumes:
- name: build
temp: {}