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')] }}.