Skip to content

Commit 472784e

Browse files
author
Felipe Almeida Baccaro
committed
dcarbone/install-jq-action github action.
1 parent dd8341d commit 472784e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/docker-image.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
run: |
2222
jq -r 'map(select(.build == true)).[]
2323
| .stages[] as $stage
24-
| "docker build --no-cache --target \($stage) -t \(.namespace)/\(.repository):\(.tag)-\($stage|ascii_downcase) ./\(.path) "
25-
| split("\n") | .[]' versions.json | while read -r image; do
26-
$("$image")
24+
| docker build --no-cache --target \($stage) -t \(.namespace)/\(.repository):\(.tag)-\($stage|ascii_downcase) ./\(.path)
25+
| split('\n') | .[]' versions.json | while read -r image; do
26+
$($image)
2727
done
2828
- name: "Push Images"
2929
run: |
3030
jq -r 'map(select(.build == true and .push == true)).[]
3131
| .stages[] as $stage
32-
| "docker push \(.namespace)/\(.repository):\(.tag)-\($stage|ascii_downcase)"
33-
| split("\n") | .[]' versions.json | while read -r image; do
34-
$("$image")
32+
| docker push \(.namespace)/\(.repository):\(.tag)-\($stage|ascii_downcase)
33+
| split('\n') | .[]' versions.json | while read -r image; do
34+
$($image)
3535
done
3636

0 commit comments

Comments
 (0)