Test instead of publish

This commit is contained in:
Lars
2019-07-17 20:02:30 +02:00
committed by GitHub
parent fbe7ca13b3
commit 2f1e157f93

24
.github/main.workflow vendored
View File

@@ -1,29 +1,11 @@
workflow "Publish" {
resolves = [
"logout",
"test",
]
on = "push"
}
action "login" {
uses = "actions/docker/login@master"
secrets = [
"DOCKER_USERNAME",
"DOCKER_PASSWORD",
]
env = {
DOCKER_REGISTRY_URL = "docker.pkg.github.com"
}
}
action "publish" {
uses = "elgohr/Publish-Docker-Github-Action@master"
args = "docker.pkg.github.com/elgohr/publish-docker-github-action/publish-docker-github-action"
needs = ["login"]
}
action "logout" {
action "test" {
uses = "actions/docker/cli@master"
args = "logout"
needs = ["publish"]
args = "build ."
}