Prepare universal workflow

This commit is contained in:
Alexey Pustovalov 2024-02-10 21:28:53 +09:00
parent 654a54191a
commit 3c504c0372

View File

@ -15,7 +15,7 @@ env:
DOCKER_REPOSITORY: ${{ vars.DOCKER_REPOSITORY }}
LATEST_BRANCH: ${{ github.event.repository.default_branch }}
TRUNK_GIT_BRANCH: ${{ env.TRUNK_ONLY_EVENT != true && "refs/heads/trunk" }}
TRUNK_GIT_BRANCH: "refs/heads/trunk"
IMAGES_PREFIX: "zabbix-"
MSFT_BASE_BUILD_IMAGE: "mcr.microsoft.com/windows/servercore"
@ -55,7 +55,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ env.TRUNK_GIT_BRANCH }}
ref: ${{ env.TRUNK_ONLY_EVENT != true && env.TRUNK_GIT_BRANCH }}
fetch-depth: 1
sparse-checkout: ${{ env.MATRIX_FILE }}