1
1
mirror of https://github.com/drone-plugins/github-actions synced 2024-11-15 02:56:25 +01:00
github.com-drone-plugins-gi.../.drone.yml
Shubham Agrawal 418c3a9f3a added yml
2021-09-27 11:01:36 +05:30

22 lines
404 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
commands:
- go test ./...
- sh scripts/build.sh
- name: publish
image: plugins/docker
pull: if-not-exists
settings:
repo: plugins/github-actions
auto_tag: true
dockerfile: docker/Dockerfile.linux.amd64
username:
from_secret: docker_username
password:
from_secret: docker_password