Skip to content

Commit

Permalink
Compacted --arg list
Browse files Browse the repository at this point in the history
  • Loading branch information
AndesKrrrrrrrrrrr committed Feb 5, 2025
1 parent dbd6cce commit 899f862
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,18 +193,14 @@ jobs:
${{ steps.args.outputs.build-cache }},mode=max
run: |
jq -c \
--arg build-args "$build_args" \
--arg image_repository "$image_repository" \
--arg cache_from "$cache_from" \
--arg cache_to "$cache_to" \
--arg build_args "$build_args" --arg image_repository "$image_repository" --arg cache_from "$cache_from" --arg cache_to "$cache_to" \
'{
file: "scripts/ci/Dockerfile",
push: false,
build-args: $build_args
image-repository: $image_repository
cache-from: ($cache_from | split("\n") | map(trim_str) | join(","))
cache-to: ($cache_to | split("\n") | map(trim_str) | join(","))
}' | tee -a "$GITHUB_OUTPUT"
# Build stable layers; only difference between these steps should be the `target`
Expand Down

0 comments on commit 899f862

Please sign in to comment.