From 56c3105f13de8d2a053b2de5fbac3375265ef1cf Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Tue, 16 Apr 2024 13:42:23 -0400 Subject: [PATCH] Do not require build args --- .github/workflows/build-push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index e6a18c2..ac0bd27 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -29,7 +29,8 @@ jobs: json_array=$(echo '${{ needs.find-jobs.outputs.folders }}' | jq -rc '.[]') TAGS=$(while read -r REPO; do if [ ! -d $REPO/.build-args ]; then - continue; + echo '{"context":"'${REPO}'", "image":"'${REPO}'", "args":""},' + continue fi for TAG in $(ls $REPO/.build-args); do echo '{"context":"'${REPO}'", "image":"'${REPO}'-'${TAG}'", "args":"'$(cat ${REPO}/.build-args/${TAG})'"},'