diff --git a/.github/workflows/docker-ghcrio.yml b/.github/workflows/docker-ghcrio.yml index df11178b5..aa9973892 100644 --- a/.github/workflows/docker-ghcrio.yml +++ b/.github/workflows/docker-ghcrio.yml @@ -25,7 +25,7 @@ jobs: images: ghcr.io/${{ github.repository }} # create latest tag for branch events flavor: | - latest=auto + latest=${{ inputs.ref && 'false' || 'auto' }} tags: | type=semver,pattern={{version}},value=${{inputs.ref}} type=semver,pattern={{major}}.{{minor}},value=${{inputs.ref}}