mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-25 12:21:23 +02:00
Updated building images workflow
This commit is contained in:
parent
c896ebbf3a
commit
8848114a26
6
.github/workflows/images_build.yml
vendored
6
.github/workflows/images_build.yml
vendored
@ -342,6 +342,10 @@ jobs:
|
||||
cache_to=$(printf '%s,' "${cache_to[@]}")
|
||||
cache_to="${cache_to%,}"
|
||||
|
||||
for i in "${!cache_from[@]}"; do
|
||||
echo "cache_$i_from=${cache_from[$i]}" >> $GITHUB_OUTPUT
|
||||
done
|
||||
|
||||
echo "cache_from=$cache_from" >> $GITHUB_OUTPUT
|
||||
echo "cache_to=$cache_to" >> $GITHUB_OUTPUT
|
||||
|
||||
@ -365,7 +369,7 @@ jobs:
|
||||
labels: |
|
||||
org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
|
||||
org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||
cache-from: ${{ steps.cache_data.outputs.cache_from }}
|
||||
cache-from: ${{ steps.cache_data.outputs.cache_*_from }}
|
||||
cache-to: ${{ steps.cache_data.outputs.cache_to }}
|
||||
|
||||
- name: Sign the images with GitHub OIDC Token
|
||||
|
Loading…
x
Reference in New Issue
Block a user