From 4739710780b10b37e3fd6f5adc6f7e6a2eb8e4d8 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Sun, 7 Apr 2024 19:21:07 +0300 Subject: [PATCH] asd --- .github/workflows/CI.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 59210be..70c65ff 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -63,9 +63,11 @@ jobs: push: false tags: | ${{ vars.DOCKER_USERNAME }}/rehlds-${{ matrix.mod }}:${{ matrix.tagName }} - # ${{ matrix.rehldsVersion == 'legacy' && format('{0}/rehlds-{1}:latest', vars.DOCKER_USERNAME, matrix.mod) || null}} + # ${{ matrix.tagName == 'legacy' && format('{0}/rehlds-{1}:latest', vars.DOCKER_USERNAME, matrix.mod) || null}} build-args: | - ReHLDS_VERSION=${{ env.rehldsVersion }} MOD=${{ matrix.mod }} + ReHLDS_VERSION=${{ env.rehldsVersion }} + ${{ matrix.tagName != 'legacy' && 'ReGameDLL_VERSION=latest' || '' }} + ${{ matrix.tagName == 'legacy' && 'BugfixedHL_LINK=' }} cache-from: type=gha,scope=build-${{ matrix.mod }}-${{ matrix.mod }} cache-to: type=gha,mode=max,scope=build-${{ matrix.mod }}-${{ matrix.mod }} \ No newline at end of file