From 281f70ceead9942f5ae78177413f38fc364d78bb Mon Sep 17 00:00:00 2001 From: Chuck Ha Date: Mon, 8 Jul 2019 12:00:52 -0400 Subject: [PATCH] Create main.workflow Publish a new image on every push --- .github/main.workflow | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..b45bb2a --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,17 @@ +workflow "New workflow" { + on = "push" + resolves = ["./scripts/publish-manager.sh"] +} + +action "Docker Registry" { + uses = "actions/docker/login@86ff551d26008267bb89ac11198ba7f1d807b699" +} + +action "./scripts/publish-manager.sh" { + uses = "./scripts/publish-manager.sh" + needs = ["Docker Registry"] + env = { + TAG = "latest" + REGISTRY = "docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker" + } +}