Skip to content

Commit

Permalink
Update docker images (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
dappnodedev authored Jul 15, 2024
1 parent 83d07f6 commit b015bcb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/tasks/publish/subtasks/getUpdateFilesTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import {
readCompose,
updateComposeImageTags,
writeCompose,
readManifest
readManifest,
getComposePackageImages
} from "../../../files/index.js";

export function getUpdateFilesTask({
Expand Down Expand Up @@ -44,9 +45,13 @@ export function getUpdateFilesTask({
isMultiVariant
});

const newCompose = readCompose(composePaths);
const newManifest = readManifest(manifestPaths).manifest;

// Update variantsMap entry
variantsMap[variant].compose = readCompose(composePaths);
variantsMap[variant].manifest = readManifest(manifestPaths).manifest;
variantsMap[variant].compose = newCompose;
variantsMap[variant].manifest = newManifest;
variantsMap[variant].images = getComposePackageImages(newCompose, newManifest);
}
}
};
Expand Down

0 comments on commit b015bcb

Please sign in to comment.