Skip to content

Commit

Permalink
Move sources directory and introduce additional build context
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Dec 24, 2024
1 parent b0f7df6 commit 8e1eaec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/images_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/images_build_rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e1eaec

Please sign in to comment.