Update main.workflow

This commit is contained in:
Peter Evans 2019-06-26 20:41:30 +09:00
parent 766da51375
commit 2cdc04310b

View file

@ -3,7 +3,13 @@ workflow "Update Docker Hub Description" {
on = "push" on = "push"
} }
action "Filter master branch" {
uses = "actions/bin/filter@master"
args = "branch master"
}
action "Docker Hub Description" { action "Docker Hub Description" {
needs = ["Filter master branch"]
uses = "./" uses = "./"
secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"] secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"]
} }