Skip to content

Commit

Permalink
update docker mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinAbro321 committed May 3, 2024
1 parent c8a70ef commit 2b05250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/injector/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use serde_json::Value;
use sha2::{Digest, Sha256};
use tar::Archive;

const DOCKER_MIME_TYPE: &str = "application/vnd.docker.distribution.manifest.v2+json";
const DOCKER_MIME_TYPE: &str = "application/vnd.oci.image.manifest.v1+json";

// Reads the binary contents of a file
fn get_file(path: &PathBuf) -> io::Result<Vec<u8>> {
Expand Down

0 comments on commit 2b05250

Please sign in to comment.