Update main.workflow

This commit is contained in:
Peter Evans 2019-06-26 20:28:22 +09:00 committed by GitHub
parent b2856ab64f
commit 49d8359332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
.github/main.workflow vendored
View file

@ -1,9 +1,15 @@
workflow "Docker Hub Description Workflow" { workflow "Update Docker Hub Description" {
on = "push"
resolves = ["Docker Hub Description"] resolves = ["Docker Hub Description"]
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"]
} }