Prepare universal workflow

This commit is contained in:
Alexey Pustovalov 2024-02-11 01:28:07 +09:00
parent 65c73b008d
commit 70c6151b2f

View File

@ -130,21 +130,6 @@ jobs:
tags: |
type=sha,suffix=-${{ matrix.arch }}
- name: Image digest
env:
IMAGE_TAG: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
CACHE_FILE_NAME: ${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}
run: |
DIGEST=$(podman inspect $IMAGE_TAG --format "{{ index .RepoDigests 0}}" | cut -d '@' -f2)
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
id: build_image
uses: redhat-actions/buildah-build@v2