From 9e8150a63d01990c253d7cddac67c3573c4efef4 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Tue, 25 Jun 2019 20:18:14 +0900 Subject: [PATCH] Update main.workflow --- .github/main.workflow | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..b21c47e --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,15 @@ +workflow "Docker Hub Description Workflow" { + on = "push" + resolves = ["Docker Hub Description"] +} + +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"] +}