File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 runs-on : ubuntu-22.04
99 steps :
1010 - run : |
11- jq -r 'map(select(' .build == true') ).\[\] | .stages\[\] as $stage | "docker build --no-cache --target \($stage) -t \(.namespace)/\(.name):\(.tag)-\($stage|ascii_downcase) ./\(.path)" | split("\n") | .\[\]' versions.json | while read -r image; do
11+ jq -r 'map(\" select(.build == true)\" ).\[\] | .stages\[\] as $stage | \ "docker build --no-cache --target \($stage) -t \(.namespace)/\(.name):\(.tag)-\($stage|ascii_downcase) ./\(.path)\ " | split(\ "\n\ ") | .\[\]' versions.json | while read -r image; do
1212 $($image)
1313 done
1414 docker_login :
2525 runs-on : ubuntu-22.04
2626 steps :
2727 - run : |
28- jq -r 'map(select(.build == true and .push == true)).\[\] | .stages\[\] as $stage | "docker push \(.namespace)/\(.name):\(.tag)-\($stage|ascii_downcase) " | split("\n") | .\[\]' versions.json | while read -r image; do
28+ jq -r 'map(\" select(.build == true and .push == true)\" ).\[\] | .stages\[\] as $stage | \ "docker push \(.namespace)/\(.name):\(.tag)-\($stage|ascii_downcase)\ " | split(\ "\n\ ") | .\[\]' versions.json | while read -r image; do
2929 $($image)
3030 done
You can’t perform that action at this time.
0 commit comments