From 6b9f9b6b21940d11279de41ddf2d7f0d68021dbb Mon Sep 17 00:00:00 2001 From: sidey79 <7968127+sidey79@users.noreply.github.com> Date: Wed, 16 Aug 2023 23:36:58 +0200 Subject: [PATCH] fix[dockertag]: latest only for bullseye - latest tag is only provided for bullseye image not for buster --- .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 d2f3c10c..e7427623 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,7 +69,7 @@ jobs: ghcr.io/${{ github.repository_owner }}/fhem-docker fhem/fhem flavor: | - latest= ${{ fromJSON('["auto", "false"]')[github.event.release.prerelease == 1] }} + latest= ${{ fromJSON('["auto", "false"]')[github.event.release.prerelease == 1 || endsWith(matrix.dockerfile, 'Dockerfile')] }} tags: | type=semver,pattern={{version}},suffix=${{ fromJSON('["-bullseye", "-buster"]')[endsWith(matrix.dockerfile, 'Dockerfile')] }} type=semver,pattern={{major}},enable=${{ github.event.release.prerelease == 0 }},suffix=${{ fromJSON('["-bullseye", "-buster"]')[endsWith(matrix.dockerfile, 'Dockerfile')] }} @@ -265,4 +265,4 @@ jobs: IMAGE_LAYER_PYTHON_EXT=0 IMAGE_LAYER_NODEJS=0 IMAGE_LAYER_NODEJS_EXT=0 - L_DESCR=A minimal (perl) Docker image for FHEM house automation system, based on Debian ${{ fromJSON('["bullseye", "buster"]')[endsWith(matrix.dockerfile, 'Dockerfile')] }}. \ No newline at end of file + L_DESCR=A minimal (perl) Docker image for FHEM house automation system, based on Debian ${{ fromJSON('["bullseye", "buster"]')[endsWith(matrix.dockerfile, 'Dockerfile')] }}.