Update main.workflow

This commit is contained in:
Peter Evans 2019-06-26 20:34:04 +09:00
parent 49d8359332
commit 766da51375

View file

@ -3,13 +3,7 @@ workflow "Update Docker Hub Description" {
on = "push" on = "push"
} }
action "Filter master branch" {
uses = "actions/bin/filter@v1.0.0"
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"]
} }