Initial commit with support for GitHub actions

This commit is contained in:
Casey Lee
2019-01-12 20:45:25 -08:00
parent d136b830f2
commit f683af5954
33 changed files with 2941 additions and 1 deletions

21
example/.github/main.workflow vendored Normal file
View File

@@ -0,0 +1,21 @@
workflow "build-and-deploy" {
on = "push"
resolves = ["deploy"]
}
action "build" {
uses = "./action1"
args = "echo 'build'"
}
action "test" {
uses = "docker://ubuntu:18.04"
args = "echo 'test'"
needs = ["build"]
}
action "deploy" {
uses = "./action2"
args = "echo 'deploy'"
needs = ["test"]
}

View File

@@ -0,0 +1 @@
FROM ubuntu:18.04

View File

@@ -0,0 +1 @@
FROM alpine:3.8