From 5730d6c0d21d772ea5fd4d1424429266437c399f Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 24 Dec 2024 20:55:43 +0900 Subject: [PATCH] Move sources directory and introduce additional build context --- .github/workflows/images_build.yml | 1 + .github/workflows/images_build_rhel.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/images_build.yml b/.github/workflows/images_build.yml index 22d9bda79..8dc5ca424 100644 --- a/.github/workflows/images_build.yml +++ b/.github/workflows/images_build.yml @@ -646,6 +646,7 @@ jobs: context: ${{ format('{0}/{1}/{2}/', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }} build-contexts: | config_templates=./config_templates/ + 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 0c348e932..c331f0da1 100644 --- a/.github/workflows/images_build_rhel.yml +++ b/.github/workflows/images_build_rhel.yml @@ -413,6 +413,7 @@ jobs: extra-args: | --iidfile=${{ github.workspace }}/iidfile --build-context config_templates=./config_templates/ + --build-context sources=./sources/ - name: Prepare image metadata id: image_metadata