diff --git a/.github/main.workflow b/.github/main.workflow index da05176..7ee216d 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -1,9 +1,15 @@ -workflow "Docker Hub Description Workflow" { - on = "push" +workflow "Update 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" { + needs = ["Filter master branch"] uses = "./" secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"] }