diff --git a/.github/workflows/images_build_windows.yml b/.github/workflows/images_build_windows.yml index e2a81556a..e7c9250ca 100644 --- a/.github/workflows/images_build_windows.yml +++ b/.github/workflows/images_build_windows.yml @@ -56,7 +56,7 @@ jobs: run: | os_list=$(jq -r '.["os-windows"] | keys | [ .[] | tostring ] | @json' "./build.json") - echo "list=$os_list" >> $GITHUB_OUTPUT + echo "list=$os_list" >> $Env:GITHUB_OUTPUT - name: Prepare Zabbix component list id: components @@ -64,7 +64,7 @@ jobs: run: | component_list='["agent","agent2"]' - echo "list=$component_list" >> $GITHUB_OUTPUT + echo "list=$component_list" >> $Env:GITHUB_OUTPUT - name: Get branch info id: branch_info @@ -82,7 +82,7 @@ jobs: if [[ "$github_ref" == "${{ env.LATEST_BRANCH }}" ]]; then result=true fi - echo "is_default_branch=$result" >> $GITHUB_OUTPUT + echo "is_default_branch=$result" >> $Env:GITHUB_OUTPUT build_base: timeout-minutes: 70 @@ -112,7 +112,7 @@ jobs: id: base_os_tag run: | $os_tag=$(Get-Content -Path .\build.json | ConvertFrom-Json).'os-windows'.'${{ matrix.os }}' - echo "os_tag=$os_tag" >> $GITHUB_OUTPUT + echo "os_tag=$os_tag" >> $Env:GITHUB_OUTPUT - name: Generate tags id: meta @@ -208,7 +208,7 @@ jobs: id: base_os_tag run: | $os_tag=$(Get-Content -Path .\build.json | ConvertFrom-Json).'os-windows'.'${{ matrix.os }}' - echo "os_tag=$os_tag" >> $GITHUB_OUTPUT + echo "os_tag=$os_tag" >> $Env:GITHUB_OUTPUT - name: Generate tags id: meta @@ -235,8 +235,8 @@ jobs: $base_tag = Get-Content ${{ env.BASE_BUILD_NAME }}${{ env.BASE_BUILD_ARTIFACT_FILE_SUFFIX }} -Raw $build_base_image="${{ env.DOCKER_REPOSITORY }}/${{ env.IMAGE_PREFIX }}${{ env.BASE_BUILD_NAME }}@" + $base_tag - echo "base_tag=$base_tag" >> $GITHUB_OUTPUT - echo "base_build_image=$build_base_image" >> $GITHUB_OUTPUT + echo "base_tag=$base_tag" >> $Env:GITHUB_OUTPUT + echo "base_build_image=$build_base_image" >> $Env:GITHUB_OUTPUT - name: Build image id: docker_build @@ -316,7 +316,7 @@ jobs: id: base_os_tag run: | $os_tag=$(Get-Content -Path .\build.json | ConvertFrom-Json).'os-windows'.'${{ matrix.os }}' - echo "os_tag=$os_tag" >> $GITHUB_OUTPUT + echo "os_tag=$os_tag" >> $Env:GITHUB_OUTPUT - name: Generate tags id: meta @@ -343,8 +343,8 @@ jobs: $base_tag = Get-Content ${{ env.COMPONENT_BASE_BUILD_NAME }}${{ env.COMPONENT_BASE_BUILD_ARTIFACT_FILE_SUFFIX }} -Raw $build_base_image="${{ env.DOCKER_REPOSITORY }}/${{ env.IMAGE_PREFIX }}${{ env.COMPONENT_BASE_BUILD_NAME }}@" + $base_tag - echo "base_tag=$base_tag" >> $GITHUB_OUTPUT - echo "base_build_image=$build_base_image" >> $GITHUB_OUTPUT + echo "base_tag=$base_tag" >> $Env:GITHUB_OUTPUT + echo "base_build_image=$build_base_image" >> $Env:GITHUB_OUTPUT - name: Build image id: docker_build