build(run): add ci:build
Add `ci:build` to the `run` file to build and push the PHP image to the GitHub container registry.
This commit is contained in:
parent
6042f3cdec
commit
d026bdb9ae
1 changed files with 5 additions and 0 deletions
5
run
5
run
|
@ -11,6 +11,11 @@ function task:bash {
|
||||||
task:exec bash "${@}"
|
task:exec bash "${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function task:ci:build {
|
||||||
|
docker-compose build php
|
||||||
|
docker-compose push php
|
||||||
|
}
|
||||||
|
|
||||||
function task:ci:test {
|
function task:ci:test {
|
||||||
task:lint:dockerfile
|
task:lint:dockerfile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue