From c30ea12b2cc74df076a554e0910b0e4963982691 Mon Sep 17 00:00:00 2001 From: sidey79 <7968127+sidey79@users.noreply.github.com> Date: Sun, 10 Mar 2024 16:22:48 +0100 Subject: [PATCH] Update build.yml Latest tag not for threaded or prereleases --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f718c90c..575588ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -118,7 +118,7 @@ jobs: dockerfile: [-bullseye, -threaded-bullseye] # Steps represent a sequence of tasks that will be executed as part of the job env: - TAG_LATEST: ${{ (contains(matrix.dockerfile,'threaded') && github.event.release.prerelease == 1) && 'false' || 'auto' }} + TAG_LATEST: ${{ (contains(matrix.dockerfile,'threaded') || github.event.release.prerelease == 1) && 'false' || 'auto' }} steps: - name: Checkout this repository uses: actions/checkout@v4 @@ -248,7 +248,7 @@ jobs: matrix: dockerfile: [-bullseye, -threaded-bullseye] env: - TAG_LATEST: ${{ (contains(matrix.dockerfile,'threaded') && github.event.release.prerelease == 1) && 'false' || 'auto' }} + TAG_LATEST: ${{ (contains(matrix.dockerfile,'threaded') || github.event.release.prerelease == 1) && 'false' || 'auto' }} # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Checkout this repository