Skip to content

Commit

Permalink
Merge pull request #159 from fhem/Fix-latestTag
Browse files Browse the repository at this point in the history
Prevent latest tag not for threaded or prereleases
  • Loading branch information
sidey79 authored Mar 10, 2024
2 parents 3ffb5f4 + c30ea12 commit 58f8d57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 58f8d57

Please sign in to comment.