From d026bdb9aee55bd609db9d60587fa0d71a8991e6 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 7 Dec 2021 02:20:32 +0000 Subject: [PATCH] build(run): add `ci:build` Add `ci:build` to the `run` file to build and push the PHP image to the GitHub container registry. --- run | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run b/run index 912ab26..cbcc43f 100755 --- a/run +++ b/run @@ -11,6 +11,11 @@ function task:bash { task:exec bash "${@}" } +function task:ci:build { + docker-compose build php + docker-compose push php +} + function task:ci:test { task:lint:dockerfile }