Skip to content

Commit

Permalink
#2742 - update dockerhub readme on stable releases
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Mar 5, 2023
1 parent 56267c4 commit 6b77e33
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/docker/Tasks/DockerHubReadmePublish.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Docker.Tasks;

[TaskName(nameof(DockerHubReadmePublish))]
[IsDependentOn(typeof(DockerHubReadmePublishInternal))]
[TaskDescription("Publish the DockerHub updated README.md")]
public class DockerHubReadmePublish : FrostingTask<BuildContext>
{
Expand All @@ -18,7 +19,11 @@ public override bool ShouldRun(BuildContext context)

return shouldRun;
}

}
[TaskName(nameof(DockerHubReadmePublishInternal))]
[TaskDescription("Publish the DockerHub updated README.md")]
public class DockerHubReadmePublishInternal : FrostingTask<BuildContext>
{
public override void Run(BuildContext context)
{
var readme = GetReadmeContent(context);
Expand Down

0 comments on commit 6b77e33

Please sign in to comment.