mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-02 19:09:21 +01:00
Prepare universal workflow
This commit is contained in:
parent
97e29c1f9e
commit
e8daa1d221
17
.github/workflows/images_build_rhel.yml
vendored
17
.github/workflows/images_build_rhel.yml
vendored
@ -135,6 +135,21 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=sha,suffix=-${{ matrix.arch }}
|
type=sha,suffix=-${{ matrix.arch }}
|
||||||
|
|
||||||
|
- name: Image digest
|
||||||
|
env:
|
||||||
|
TAGS: ${{ steps.meta.outputs.tags[0] }}
|
||||||
|
CACHE_FILE_NAME: ${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}
|
||||||
|
run: |
|
||||||
|
echo "$TAGS"
|
||||||
|
echo "::group::Image digest"
|
||||||
|
echo "$DIGEST"
|
||||||
|
echo "::endgroup::"
|
||||||
|
echo "::group::Cache file name"
|
||||||
|
echo "$CACHE_FILE_NAME"
|
||||||
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
echo "$DIGEST" > "$CACHE_FILE_NAME"
|
||||||
|
|
||||||
- name: Build Zabbix Build Base
|
- name: Build Zabbix Build Base
|
||||||
id: build_image
|
id: build_image
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: redhat-actions/buildah-build@v2
|
||||||
@ -149,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
env:
|
env:
|
||||||
DIGEST: ${{ steps.docker_build.outputs.digest }}
|
TAGS: ${{ steps.meta.outputs.tags[0] }}
|
||||||
CACHE_FILE_NAME: ${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}
|
CACHE_FILE_NAME: ${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.docker_build.outputs }}"
|
echo "${{ steps.docker_build.outputs }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user