Skip to content

Commit

Permalink
Do not require build args
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Apr 16, 2024
1 parent c1b04c4 commit 56c3105
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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})'"},'
Expand Down

0 comments on commit 56c3105

Please sign in to comment.