Skip to content

Commit

Permalink
push command
Browse files Browse the repository at this point in the history
Signed-off-by: Navid Yaghoobi <[email protected]>
  • Loading branch information
navidys committed Nov 24, 2024
1 parent ff51cdf commit b8d8f30
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/builder/push.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,9 @@ impl OCIBuilder {

// push manifest
println!("Pushing manifest ...");
match client
.push_blob(
&reference,
&image_config.data,
&image_manifest.config.digest,
)
.await
{

let img_manifest = self.image_store().get_manifest(&image_dg)?;
match client.push_manifest(&reference, &img_manifest.into()).await {
Ok(c) => debug!("client push config: {}", c),
Err(err) => return Err(BuilderError::OciDistError(err)),
}
Expand Down

0 comments on commit b8d8f30

Please sign in to comment.