mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-05-10 11:05:10 +02:00
RHEL build test
This commit is contained in:
parent
973083cfc5
commit
5fe496b9b0
20
.github/workflows/images_build_rhel.yml
vendored
20
.github/workflows/images_build_rhel.yml
vendored
@ -274,6 +274,7 @@ jobs:
|
|||||||
key: ${{ env.BASE_BUILD_NAME }}-${{ matrix.arch }}-${{ github.run_id }}
|
key: ${{ env.BASE_BUILD_NAME }}-${{ matrix.arch }}-${{ github.run_id }}
|
||||||
|
|
||||||
- name: Push image to local storage
|
- name: Push image to local storage
|
||||||
|
id: push_image
|
||||||
env:
|
env:
|
||||||
IMAGE_TAG: ${{ steps.image_metadata.outputs.image_tag }}
|
IMAGE_TAG: ${{ steps.image_metadata.outputs.image_tag }}
|
||||||
IMAGE_TAG_ID: ${{ steps.image_metadata.outputs.image_tag_id }}
|
IMAGE_TAG_ID: ${{ steps.image_metadata.outputs.image_tag_id }}
|
||||||
@ -305,6 +306,15 @@ jobs:
|
|||||||
|
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Post build image
|
||||||
|
if: ${{ (cancelled() || failure()) && ( steps.push_image.outcome == 'failure' || steps.push_image.outcome == 'cancelled') }}
|
||||||
|
env:
|
||||||
|
IMAGE_TAG_ID: ${{ steps.image_metadata.outputs.image_tag_id }}
|
||||||
|
run: |
|
||||||
|
echo "::group::Removing orphaned image"
|
||||||
|
rm -rf "${IMAGE_DIR}/${IMAGE_TAG_ID}"
|
||||||
|
echo "::endgroup::"
|
||||||
|
|
||||||
build_base_database:
|
build_base_database:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
needs: [ "build_base", "init_build"]
|
needs: [ "build_base", "init_build"]
|
||||||
@ -423,6 +433,7 @@ jobs:
|
|||||||
key: ${{ matrix.build }}-${{ matrix.arch }}-${{ github.run_id }}
|
key: ${{ matrix.build }}-${{ matrix.arch }}-${{ github.run_id }}
|
||||||
|
|
||||||
- name: Push image to local storage
|
- name: Push image to local storage
|
||||||
|
id: push_image
|
||||||
env:
|
env:
|
||||||
IMAGE_TAG: ${{ steps.image_metadata.outputs.image_tag }}
|
IMAGE_TAG: ${{ steps.image_metadata.outputs.image_tag }}
|
||||||
IMAGE_TAG_ID: ${{ steps.image_metadata.outputs.image_tag_id }}
|
IMAGE_TAG_ID: ${{ steps.image_metadata.outputs.image_tag_id }}
|
||||||
@ -454,6 +465,15 @@ jobs:
|
|||||||
|
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Post build image
|
||||||
|
if: ${{ (cancelled() || failure()) && ( steps.push_image.outcome == 'failure' || steps.push_image.outcome == 'cancelled') }}
|
||||||
|
env:
|
||||||
|
IMAGE_TAG_ID: ${{ steps.image_metadata.outputs.image_tag_id }}
|
||||||
|
run: |
|
||||||
|
echo "::group::Removing orphaned image"
|
||||||
|
rm -rf "${IMAGE_DIR}/${IMAGE_TAG_ID}"
|
||||||
|
echo "::endgroup::"
|
||||||
|
|
||||||
build_images:
|
build_images:
|
||||||
timeout-minutes: 90
|
timeout-minutes: 90
|
||||||
needs: [ "build_base_database", "init_build"]
|
needs: [ "build_base_database", "init_build"]
|
||||||
|
Loading…
Reference in New Issue
Block a user