mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-22 15:53:35 +01:00
Updated build process for Zabbix agent (windows)
This commit is contained in:
parent
5e6d13965c
commit
6d2dcfcf03
@ -12,6 +12,7 @@ on:
|
||||
schedule:
|
||||
- cron: '0 10 * * 2,5'
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
@ -323,5 +324,5 @@ jobs:
|
||||
- name: Cache image digest
|
||||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
|
||||
with:
|
||||
path: ${{ env.BASE_IMAGE_NAME }}_${{ matrix.os }}_${{ matrix.component }}_${{ needs.init_build.outputs.current_branch }}
|
||||
key: ${{ env.BASE_IMAGE_NAME }}-${{ matrix.os }}
|
||||
path: ${{ env.BASE_IMAGE_NAME }}_${{ matrix.os }}_${{ matrix.component }}
|
||||
key: ${{ env.BASE_IMAGE_NAME }}-${{ matrix.os }}-${{ needs.init_build.outputs.current_branch }}
|
||||
|
13
.github/workflows/images_build_windows.yml
vendored
13
.github/workflows/images_build_windows.yml
vendored
@ -140,6 +140,13 @@ jobs:
|
||||
echo "current_branch=$github_ref" >> $GITHUB_OUTPUT
|
||||
echo "sha_short=$sha_short" >> $GITHUB_OUTPUT
|
||||
|
||||
build_base:
|
||||
uses: ./.github/workflows/base_images_build_windows.yml
|
||||
if: ${{ github.event_name == 'release' }}
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
build_components:
|
||||
name: Build ${{ matrix.component }} sources on ${{ matrix.os }}
|
||||
needs: [ "init_build" ]
|
||||
@ -208,10 +215,8 @@ jobs:
|
||||
- name: Download SHA256 tag of ${{ env.BASE_IMAGE_NAME }}:${{ matrix.os }}
|
||||
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
|
||||
with:
|
||||
path: |
|
||||
${{ env.BASE_IMAGE_NAME }}_${{ matrix.os }}_${{ matrix.component }}_${{ needs.init_build.outputs.sha_short }}
|
||||
${{ env.BASE_IMAGE_NAME }}_${{ matrix.os }}_${{ matrix.component }}_${{ needs.init_build.outputs.current_branch }}
|
||||
key: ${{ env.BASE_IMAGE_NAME }}-${{ matrix.os }}
|
||||
path: ${{ env.BASE_IMAGE_NAME }}_${{ matrix.os }}_${{ matrix.component }}
|
||||
key: ${{ env.BASE_IMAGE_NAME }}-${{ matrix.os }}-${{ needs.init_build.outputs.current_branch }}
|
||||
fail-on-cache-miss: true
|
||||
|
||||
- name: Retrieve ${{ env.BASE_IMAGE_NAME }}:${{ matrix.os }} SHA256 tag
|
||||
|
Loading…
Reference in New Issue
Block a user