From bcb94ed5898ac1b2191ebd5e1ff9c5b53ff323f8 Mon Sep 17 00:00:00 2001
From: Antoine GIRARD <sapk@users.noreply.github.com>
Date: Mon, 2 Nov 2020 20:50:13 +0100
Subject: [PATCH] fix docker rootless manifest (#13386)

---
 .drone.yml                    | 2 +-
 docker/manifest.rootless.tmpl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index 331fad4c9e..df84088e65 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -796,7 +796,7 @@ steps:
     pull: always
     image: plugins/manifest
     settings:
-      auto_tag: false
+      auto_tag: true
       ignore_missing: true
       spec: docker/manifest.rootless.tmpl
       password:
diff --git a/docker/manifest.rootless.tmpl b/docker/manifest.rootless.tmpl
index 2951be8b2d..aed36caa4e 100644
--- a/docker/manifest.rootless.tmpl
+++ b/docker/manifest.rootless.tmpl
@@ -2,7 +2,7 @@ image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{
 {{#if build.tags}}
 tags:
 {{#each build.tags}}
-  - {{this}}
+  - {{this}}-rootless
 {{/each}}
 {{/if}}
 manifests: