File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ jobs:
1616 - name : " Build images"
1717 run : |
1818 buildExpr='map(select(.build == true)).[] | .stages[] as $stage | "docker build --no-cache --target \($stage) -t \(.namespace)/\(.name):\(.tag)-\($stage|ascii_downcase) ./\(.path)" | split("\n") | .[]';
19- jq -r " $buildExpr" versions.json | while read -r image; do
19+ jq -r $buildExpr versions.json | while read -r image; do
2020 $($image)
2121 done
2222 - name : " Push Images"
2323 run : |
2424 pushExpr='map(select(.build == true and .push == true)).[] | .stages[] as $stage | "docker push \(.namespace)/\(.name):\(.tag)-\($stage|ascii_downcase) " | split("\n") | .[]'
25- jq -r " $pushExpr" versions.json | while read -r image; do
25+ jq -r $pushExpr versions.json | while read -r image; do
2626 $($image)
2727 done
2828
You can’t perform that action at this time.
0 commit comments