mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-20 01:47:43 +02:00
Prepare universal workflow
This commit is contained in:
parent
cf42d62578
commit
f8d96d0795
6
.github/workflows/images_build.yml
vendored
6
.github/workflows/images_build.yml
vendored
@ -239,6 +239,7 @@ jobs:
|
|||||||
org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
|
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'] }}
|
org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||||
cache-from: |
|
cache-from: |
|
||||||
|
type=gha,scope=${{ fromJSON(steps.meta.outputs.json).tags[0] }}
|
||||||
type=registry,ref=docker.io/${{ fromJSON(steps.meta.outputs.json).tags[0] }}
|
type=registry,ref=docker.io/${{ fromJSON(steps.meta.outputs.json).tags[0] }}
|
||||||
cache-to: type=gha,mode=max,scope=${{ fromJSON(steps.meta.outputs.json).tags[0] }}
|
cache-to: type=gha,mode=max,scope=${{ fromJSON(steps.meta.outputs.json).tags[0] }}
|
||||||
|
|
||||||
@ -367,11 +368,6 @@ jobs:
|
|||||||
flavor: |
|
flavor: |
|
||||||
latest=${{ (needs.init_build.outputs.current_branch != 'trunk') && (matrix.os == 'alpine') && ( needs.init_build.outputs.is_default_branch == 'true' ) }}
|
latest=${{ (needs.init_build.outputs.current_branch != 'trunk') && (matrix.os == 'alpine') && ( needs.init_build.outputs.is_default_branch == 'true' ) }}
|
||||||
|
|
||||||
- name: Download SHA256 tag build-base:${{ matrix.os }}
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: build-base_${{ matrix.os }}
|
|
||||||
|
|
||||||
- name: Cache image digest
|
- name: Cache image digest
|
||||||
id: cache-image-digest
|
id: cache-image-digest
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user