mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-26 12:51:37 +02:00
RHEL build test
This commit is contained in:
parent
a96d6ac977
commit
779b2b2518
8
.github/workflows/images_build_rhel.yml
vendored
8
.github/workflows/images_build_rhel.yml
vendored
@ -190,6 +190,8 @@ jobs:
|
|||||||
- name: Build Zabbix Build Base
|
- name: Build Zabbix Build Base
|
||||||
id: build_image
|
id: build_image
|
||||||
uses: redhat-actions/buildah-build@b4dc19b4ba891854660ab1f88a097d45aa158f76 # v2.12
|
uses: redhat-actions/buildah-build@b4dc19b4ba891854660ab1f88a097d45aa158f76 # v2.12
|
||||||
|
env:
|
||||||
|
GITHUB_WORKSPACE: ${{ env.GITHUB_WORKSPACE }}
|
||||||
with:
|
with:
|
||||||
context: ${{ env.DOCKERFILES_DIRECTORY }}/${{ matrix.build }}/rhel
|
context: ${{ env.DOCKERFILES_DIRECTORY }}/${{ matrix.build }}/rhel
|
||||||
layers: false
|
layers: false
|
||||||
@ -198,14 +200,16 @@ jobs:
|
|||||||
${{ env.DOCKERFILES_DIRECTORY }}/${{ matrix.build }}/rhel/Dockerfile
|
${{ env.DOCKERFILES_DIRECTORY }}/${{ matrix.build }}/rhel/Dockerfile
|
||||||
extra-args: |
|
extra-args: |
|
||||||
--pull
|
--pull
|
||||||
--iidfile=$HOME/iidfile
|
--iidfile=$GITHUB_WORKSPACE/iidfile
|
||||||
|
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
env:
|
env:
|
||||||
IMAGE_TAG: ${{ steps.build_image.outputs.image-with-tag }}
|
IMAGE_TAG: ${{ steps.build_image.outputs.image-with-tag }}
|
||||||
CACHE_FILE_NAME: ${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}
|
CACHE_FILE_NAME: ${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }}
|
||||||
|
GITHUB_WORKSPACE: ${{ env.GITHUB_WORKSPACE }}
|
||||||
run: |
|
run: |
|
||||||
TAG_ID=$(cat $HOME/iidfile)
|
env
|
||||||
|
TAG_ID=$(cat $GITHUB_WORKSPACE/iidfile)
|
||||||
|
|
||||||
echo "::group::Image tag"
|
echo "::group::Image tag"
|
||||||
echo "image_tag=$IMAGE_TAG"
|
echo "image_tag=$IMAGE_TAG"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user