mirror of
https://github.com/zhigang1992/actions.git
synced 2026-01-12 08:53:47 +08:00
Move publish filter after build
This commit is contained in:
committed by
GitHub
parent
865fcbcec0
commit
b474e0f968
4
.github/main.workflow
vendored
4
.github/main.workflow
vendored
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user