Move sources directory and introduce additional build context

This commit is contained in:
Alexey Pustovalov 2024-12-24 20:55:43 +09:00
parent 4a9c6eb3c6
commit 5730d6c0d2
2 changed files with 2 additions and 0 deletions

View File

@ -646,6 +646,7 @@ jobs:
context: ${{ format('{0}/{1}/{2}/', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }} context: ${{ format('{0}/{1}/{2}/', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }}
build-contexts: | build-contexts: |
config_templates=./config_templates/ config_templates=./config_templates/
sources=./sources/
file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }} file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }}
platforms: ${{ steps.platform.outputs.list }} platforms: ${{ steps.platform.outputs.list }}
push: true push: true

View File

@ -413,6 +413,7 @@ jobs:
extra-args: | extra-args: |
--iidfile=${{ github.workspace }}/iidfile --iidfile=${{ github.workspace }}/iidfile
--build-context config_templates=./config_templates/ --build-context config_templates=./config_templates/
--build-context sources=./sources/
- name: Prepare image metadata - name: Prepare image metadata
id: image_metadata id: image_metadata