Skip to content

Commit 3e09f81

Browse files
author
Felipe Almeida Baccaro
committed
fixing jq command docker-image.yml.
1 parent 2e31112 commit 3e09f81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)