mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-29 19:23:09 +01:00
RHEL build test
This commit is contained in:
parent
776680ee44
commit
35e8638b0f
18
.github/workflows/images_build_rhel.yml
vendored
18
.github/workflows/images_build_rhel.yml
vendored
@ -226,13 +226,25 @@ jobs:
|
|||||||
${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}_tag
|
${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}_tag
|
||||||
key: ${{ env.BASE_BUILD_NAME }}-${{ matrix.arch }}-${{ github.run_id }}
|
key: ${{ env.BASE_BUILD_NAME }}-${{ matrix.arch }}-${{ github.run_id }}
|
||||||
|
|
||||||
- name: Store image
|
- name: Push image to local storage
|
||||||
|
env:
|
||||||
|
IMAGE_TAG: ${{ steps.build_image.outputs.image-with-tag }}
|
||||||
|
CACHE_FILE_NAME: ${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}
|
||||||
|
run: |
|
||||||
|
DIGEST=$(podman inspect "${IMAGE_TAG}" --format "{{ index .RepoDigests 0}}" | cut -d '@' -f2)
|
||||||
|
|
||||||
|
echo "::group::Result"
|
||||||
|
echo "podman push \"${IMAGE_TAG}\" dir:\"$IMAGE_DIR/$DIGEST\""
|
||||||
|
podman push "${IMAGE_TAG}" dir:"$IMAGE_DIR/$DIGEST"
|
||||||
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Post build
|
||||||
env:
|
env:
|
||||||
IMAGE_TAG: ${{ steps.build_image.outputs.image-with-tag }}
|
IMAGE_TAG: ${{ steps.build_image.outputs.image-with-tag }}
|
||||||
run: |
|
run: |
|
||||||
echo "::group::Result"
|
echo "::group::Result"
|
||||||
echo "podman push \"${IMAGE_TAG}\" dir:\"$IMAGE_DIR/$DIGEST\""
|
echo "podman rmi -i -f \"${IMAGE_TAG}\""
|
||||||
podman push "${IMAGE_TAG}" dir:"$IMAGE_DIR/$DIGEST"
|
podman rmi -i -f "${IMAGE_TAG}"
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
build_base_database:
|
build_base_database:
|
||||||
|
Loading…
Reference in New Issue
Block a user