From 49d8359332acd9f321a852d444d9256af36ee1d5 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 26 Jun 2019 20:28:22 +0900 Subject: [PATCH] Update main.workflow --- .github/main.workflow | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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"] }