Skip to content

Commit

Permalink
disabled manifest publishing for now
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Jan 18, 2025
1 parent adc2c0c commit c7ab2dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions build/build/Tasks/DockerBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public override void Run(BuildContext context)
return;

// build/push manifests
foreach (var group in context.Images.GroupBy(x => new { x.Distro, x.Variant, x.Version }))
{
var dockerImage = group.First();
DockerManifest(context, dockerImage);
}
// foreach (var group in context.Images.GroupBy(x => new { x.Distro, x.Variant, x.Version }))
// {
// var dockerImage = group.First();
// DockerManifest(context, dockerImage);
// }
}

protected override void DockerImage(BuildContext context, DockerDepsImage dockerImage)
Expand Down Expand Up @@ -85,10 +85,10 @@ protected override IEnumerable<string> GetDockerTags(DockerDepsImage dockerImage

if (version == Constants.DockerDistroLatest)
{
tags.AddRange(new[]
{
tags.AddRange(
[
$"{dockerRegistry}/{Constants.DockerImageName}:{distro}-{variant}-latest"
});
]);
}

if (!arch.HasValue) return tags;
Expand Down
10 changes: 5 additions & 5 deletions build/build/Tasks/DockerBuildDeps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ public override void Run(BuildContext context)
return;

// build/push manifests
foreach (var group in context.DepsImages.GroupBy(x => new { x.Distro }))
{
var dockerImage = group.First();
DockerManifest(context, dockerImage);
}
// foreach (var group in context.DepsImages.GroupBy(x => new { x.Distro }))
// {
// var dockerImage = group.First();
// DockerManifest(context, dockerImage);
// }
}

protected override DirectoryPath GetWorkingDir(DockerDepsImage dockerImage) =>
Expand Down

0 comments on commit c7ab2dd

Please sign in to comment.