btcpayserver-docker/contrib/DockerFileBuildHelper/DockerInfo.cs
d11n 5557e224bb
Mark BlueWallet LNDhub fragment as deprecated (#917)
* Mark BlueWallet LNDhub fragment as deprecated

See https://github.com/btcpayserver/btcpayserver/issues/6070#issuecomment-2205892096

* Add deprecated flag and skip those images in README generator

* Update generated files
2024-08-29 18:18:43 +09:00

21 lines
816 B
C#

namespace DockerFileBuildHelper
{
public class DockerInfo
{
public string DockerFilePath { get; set; }
public string DockerFilePathARM32v7 { get; set; }
public string DockerFilePathARM64v8 { get; set; }
public string DockerHubLink { get; set; }
public string GitLink { get; set; }
public string GitRef { get; set; }
public bool SupportedByUs { get; set; }
public bool Deprecated { get; set; }
public Image Image { get; internal set; }
public string RawLink { get; set; }
public string GetGithubLinkOf(string path)
{
return RawLink ?? $"https://raw.githubusercontent.com/{GitLink.Substring("https://github.com/".Length)}{(GitRef is null ? string.Empty : ("/" + GitRef))}/{path}";
}
}
}