mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-20 18:07:46 +02:00
Updated building images workflow
This commit is contained in:
parent
edcb787809
commit
5f096cab2d
10
.github/workflows/images_build.yml
vendored
10
.github/workflows/images_build.yml
vendored
@ -337,11 +337,13 @@ jobs:
|
||||
echo "${cache_to[*]}"
|
||||
echo "::endgroup::"
|
||||
|
||||
cache_from=$(printf '%s\n' "${cache_from[@]}" | jq -R . | jq -s --compact-output .)
|
||||
cache_to=$(printf '%s\n' "${cache_to[@]}" | jq -R . | jq -s --compact-output .)
|
||||
cache_from=$(printf '"%s",' "${cache_from[@]}")
|
||||
cache_from="${cache_from%,}"
|
||||
cache_to=$(printf '"%s",' "${cache_to[@]}")
|
||||
cache_to="${cache_to%,}"
|
||||
|
||||
echo "cache_from=\"$cache_from\"" >> $GITHUB_OUTPUT
|
||||
echo "cache_to=\"$cache_to\"" >> $GITHUB_OUTPUT
|
||||
echo "cache_from=$cache_from" >> $GITHUB_OUTPUT
|
||||
echo "cache_to=$cache_to" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Build and publish image
|
||||
id: docker_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user