diff --git a/.github/main.workflow b/.github/main.workflow index c3103b4..5a97e83 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -3,7 +3,13 @@ workflow "Update Docker Hub Description" { on = "push" } +action "Filter master branch" { + uses = "actions/bin/filter@master" + args = "branch master" +} + action "Docker Hub Description" { + needs = ["Filter master branch"] uses = "./" secrets = ["DOCKERHUB_USERNAME", "DOCKERHUB_PASSWORD", "DOCKERHUB_REPOSITORY"] }