Merge pull request #6800 from duplicati/feature/dont-tag-with-naked-version
Don't push Docker with naked version
This commit is contained in:
@@ -1588,9 +1588,12 @@ public static partial class Command
|
||||
// Copy in the run-as-user.sh script
|
||||
File.Copy(Path.Combine(resourcesDir, "run-as-user.sh"), Path.Combine(tmpbuild, "run-as-user.sh"), true);
|
||||
|
||||
var tags = new List<string> { rtcfg.ReleaseInfo.Channel.ToString(), rtcfg.ReleaseInfo.Version.ToString(), $"{rtcfg.ReleaseInfo.Version}-{rtcfg.ReleaseInfo.Channel}" };
|
||||
var tags = new List<string> { rtcfg.ReleaseInfo.Channel.ToString(), $"{rtcfg.ReleaseInfo.Version}-{rtcfg.ReleaseInfo.Channel}" };
|
||||
if (rtcfg.ReleaseInfo.Channel == ReleaseChannel.Stable)
|
||||
{
|
||||
tags.Add(rtcfg.ReleaseInfo.Version.ToString());
|
||||
tags.Add("latest");
|
||||
}
|
||||
|
||||
if (!dockerArchs.Any())
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user