From 216059c2e57488daba8f7131dfecac00677531f3 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Wed, 14 Sep 2022 14:10:12 +0100
Subject: [PATCH] Update dockerhub.yaml (#23267)

---
 .github/workflows/dockerhub.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/dockerhub.yaml b/.github/workflows/dockerhub.yaml
index 0f0dd4f476..1fd485beeb 100644
--- a/.github/workflows/dockerhub.yaml
+++ b/.github/workflows/dockerhub.yaml
@@ -40,6 +40,8 @@ jobs:
           tags: |
             type=ref,event=branch
             type=ref,event=tag
+          flavor: |
+            latest=${{ contains(github.ref_name, '-rc.') && 'false' || 'auto' }}
 
       - name: Build and push
         uses: docker/build-push-action@v2