From 779b2b251881a39015f8a8e9042785db67278b64 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Thu, 15 Feb 2024 18:34:47 +0900 Subject: [PATCH] RHEL build test --- .github/workflows/images_build_rhel.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/images_build_rhel.yml b/.github/workflows/images_build_rhel.yml index 1d81ae5df..2a93adf7c 100644 --- a/.github/workflows/images_build_rhel.yml +++ b/.github/workflows/images_build_rhel.yml @@ -190,6 +190,8 @@ jobs: - name: Build Zabbix Build Base id: build_image uses: redhat-actions/buildah-build@b4dc19b4ba891854660ab1f88a097d45aa158f76 # v2.12 + env: + GITHUB_WORKSPACE: ${{ env.GITHUB_WORKSPACE }} with: context: ${{ env.DOCKERFILES_DIRECTORY }}/${{ matrix.build }}/rhel layers: false @@ -198,14 +200,16 @@ jobs: ${{ env.DOCKERFILES_DIRECTORY }}/${{ matrix.build }}/rhel/Dockerfile extra-args: | --pull - --iidfile=$HOME/iidfile + --iidfile=$GITHUB_WORKSPACE/iidfile - name: Image digest env: IMAGE_TAG: ${{ steps.build_image.outputs.image-with-tag }} CACHE_FILE_NAME: ${{ env.BASE_BUILD_NAME }}_${{ matrix.arch }} + GITHUB_WORKSPACE: ${{ env.GITHUB_WORKSPACE }} run: | - TAG_ID=$(cat $HOME/iidfile) + env + TAG_ID=$(cat $GITHUB_WORKSPACE/iidfile) echo "::group::Image tag" echo "image_tag=$IMAGE_TAG"