mirror of
https://github.com/drone-plugins/github-actions
synced 2024-11-15 02:56:25 +01:00
22 lines
404 B
YAML
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 |