mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-23 05:48:46 +01:00
Prepare universal workflow
This commit is contained in:
parent
ceddc1aca4
commit
ce62b9b66f
8
.github/workflows/images_build.yml
vendored
8
.github/workflows/images_build.yml
vendored
@ -187,5 +187,9 @@ jobs:
|
||||
push: ${{ secrets.AUTO_PUSH_IMAGES }}
|
||||
tags: ${{ steps.meta_release.conclusion == 'skipped' && steps.meta_trunk.outputs.tags || steps.meta_release.outputs.tags }}
|
||||
labels: |
|
||||
org.opencontainers.image.revision=${{ steps.meta_release.conclusion == 'skipped' && fromJSON(steps.meta_trunk.outputs.json).labels['org.opencontainers.image.revision'] || fromJSON(steps.meta_release.outputs.json).labels['org.opencontainers.image.revision'] }}
|
||||
org.opencontainers.image.created=${{ steps.meta_release.conclusion == 'skipped' && fromJSON(steps.meta_trunk.outputs.json).labels['org.opencontainers.image.created'] || fromJSON(steps.meta_release.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||
org.opencontainers.image.revision=${{ steps.meta_release.conclusion == 'skipped' &&
|
||||
fromJSON(steps.meta_trunk.outputs.json).labels['org.opencontainers.image.revision'] ||
|
||||
fromJSON(steps.meta_release.outputs.json).labels['org.opencontainers.image.revision'] }}
|
||||
org.opencontainers.image.created=${{ steps.meta_release.conclusion == 'skipped' &&
|
||||
fromJSON(steps.meta_trunk.outputs.json).labels['org.opencontainers.image.created'] ||
|
||||
fromJSON(steps.meta_release.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||
|
Loading…
Reference in New Issue
Block a user