Skip to content

Commit

Permalink
Update main.workflow
Browse files Browse the repository at this point in the history
adding a main workflow
  • Loading branch information
splybon committed Mar 11, 2019
1 parent 447e357 commit aa80e04
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
workflow "Skookum Action" {
on = "push"
resolves = ["Cat a file"]
}

action "My first action" {
uses = "docker://alpine:3.8"
args = "touch random.txt && echo done"
Expand All @@ -16,3 +11,19 @@ action "Cat a file" {
args = "ls"
needs = ["My first action"]
}

workflow "Skookum Demo" {
on = "push"
resolves = ["docker://alpine:latest-1"]
}

action "docker://alpine:latest" {
uses = "docker://alpine:latest"
args = "touch example.txt"
}

action "docker://alpine:latest-1" {
uses = "docker://alpine:latest"
needs = ["docker://alpine:latest"]
args = "ls"
}

0 comments on commit aa80e04

Please sign in to comment.