diff --git a/.github/workflows/images_build.yml b/.github/workflows/images_build.yml index 45083afd1f..34ba27e5ad 100644 --- a/.github/workflows/images_build.yml +++ b/.github/workflows/images_build.yml @@ -644,6 +644,8 @@ jobs: uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0 with: context: ${{ format('{0}/{1}/{2}/', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }} + build-contexts: | + sources=./sources/ file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }} platforms: ${{ steps.platform.outputs.list }} push: true diff --git a/.github/workflows/images_build_rhel.yml b/.github/workflows/images_build_rhel.yml index e66c5821de..6093438c11 100644 --- a/.github/workflows/images_build_rhel.yml +++ b/.github/workflows/images_build_rhel.yml @@ -412,6 +412,7 @@ jobs: build-args: BUILD_BASE_IMAGE=${{ steps.base_build.outputs.base_build_image }} extra-args: | --iidfile=${{ github.workspace }}/iidfile + --build-context sources=./sources/ - name: Prepare image metadata id: image_metadata