mirror of https://github.com/requarks/wiki
parent
006da927a0
commit
8b65a0873f
@ -1,21 +0,0 @@
|
|||||||
workflow "Docker build" {
|
|
||||||
on = "push"
|
|
||||||
resolves = ["Build Docker Image"]
|
|
||||||
}
|
|
||||||
|
|
||||||
action "Filter branch dev" {
|
|
||||||
uses = "actions/bin/filter@c6471707d308175c57dfe91963406ef205837dbd"
|
|
||||||
args = "branch master"
|
|
||||||
}
|
|
||||||
|
|
||||||
action "Docker Registry" {
|
|
||||||
uses = "actions/docker/login@c08a5fc9e0286844156fefff2c141072048141f6"
|
|
||||||
needs = ["Filter branch dev"]
|
|
||||||
secrets = ["DOCKER_USERNAME", "DOCKER_PASSWORD"]
|
|
||||||
}
|
|
||||||
|
|
||||||
action "Build Docker Image" {
|
|
||||||
uses = "actions/docker/cli@c08a5fc9e0286844156fefff2c141072048141f6"
|
|
||||||
needs = ["Docker Registry"]
|
|
||||||
runs = "docker build -f ./dev/build/Dockerfile -t requarks/wiki:dev ."
|
|
||||||
}
|
|
Loading…
Reference in new issue