mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-05-30 14:48:49 +02:00
Fixed Windows build process. Removing symlink during build process
This commit is contained in:
parent
ede9f6a7e6
commit
dc66c50d66
6
.github/workflows/images_build_windows.yml
vendored
6
.github/workflows/images_build_windows.yml
vendored
@ -132,6 +132,8 @@ jobs:
|
||||
run: |
|
||||
$context='.\Dockerfiles\${{ env.BASE_BUILD_NAME }}\windows\'
|
||||
$dockerfile= $context + 'Dockerfile.${{ matrix.component }}'
|
||||
# Can not build on GitHub due existing symlink. Must be removed before build process
|
||||
Remove-Item -ErrorAction Ignore -Force -Path $context\README.md
|
||||
|
||||
$tags_array=$( "${{ steps.meta.outputs.tags }}".Split("`r`n") )
|
||||
$tags=$( $tags_array | Foreach-Object { "--tag=$_" } )
|
||||
@ -239,6 +241,8 @@ jobs:
|
||||
run: |
|
||||
$context='.\Dockerfiles\${{ env.COMPONENT_BASE_BUILD_NAME }}\windows\'
|
||||
$dockerfile= $context + 'Dockerfile.${{ matrix.component }}'
|
||||
# Can not build on GitHub due existing symlink. Must be removed before build process
|
||||
Remove-Item -ErrorAction Ignore -Force -Path $context\README.md
|
||||
|
||||
$tags_array=$( "${{ steps.meta.outputs.tags }}".Split("`r`n") )
|
||||
$tags=$($tags_array | Foreach-Object { "--tag=$_" })
|
||||
@ -344,6 +348,8 @@ jobs:
|
||||
run: |
|
||||
$context='.\Dockerfiles\${{ matrix.component }}\windows\'
|
||||
$dockerfile= $context + 'Dockerfile'
|
||||
# Can not build on GitHub due existing symlink. Must be removed before build process
|
||||
Remove-Item -ErrorAction Ignore -Force -Path $context\README.md
|
||||
|
||||
$tags_array=$( "${{ steps.meta.outputs.tags }}".Split("`r`n") )
|
||||
$tags=$($tags_array | Foreach-Object { "--tag=$_" })
|
||||
|
Loading…
x
Reference in New Issue
Block a user