Move publish filter after build

This commit is contained in:
Ole Christian Langfjæran
2019-04-29 14:03:49 +02:00
committed by GitHub
parent 865fcbcec0
commit b474e0f968

View File

@@ -23,13 +23,13 @@ action "Docker build" {
}
action "Publish Filter" {
needs = ["Test"]
needs = ["Docker build"]
uses = "actions/bin/filter@master"
args = "branch master"
}
action "Docker Login" {
needs = ["Publish Filter", "Docker build"]
needs = ["Publish Filter"]
uses = "actions/docker/login@master"
secrets = ["DOCKER_USERNAME", "DOCKER_PASSWORD"]
}