Skip to content

Commit

Permalink
misc: github actions workflow (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Feb 2, 2019
1 parent 38411cb commit 8f573ff
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
workflow "Docker build" {
on = "push"
resolves = ["Build Docker Image"]
}

action "Filter branch dev" {
uses = "actions/bin/filter@c6471707d308175c57dfe91963406ef205837dbd"
args = "branch dev"
}

action "Docker Registry" {
uses = "actions/docker/login@c08a5fc9e0286844156fefff2c141072048141f6"
needs = ["Filter branch dev"]
secrets = ["DOCKER_USERNAME", "DOCKER_PASSWORD"]
}

action "Build Docker Image" {
uses = "actions/docker/cli@c08a5fc9e0286844156fefff2c141072048141f6"
needs = ["Docker Registry"]
runs = "docker build -f ./dev/build/Dockerfile -t requarks/wiki:dev ."
}

0 comments on commit 8f573ff

Please sign in to comment.