Skip to content

Commit

Permalink
Changes [build image]
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed Nov 14, 2024
1 parent 190ef02 commit 8767db9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/agent.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,12 @@ export async function doAgent(action) {
};

if (cloud) {
const robobun = await getCloudMetadataTag("robobun");
if (robobun === "true") {
tags["robobun"] = "true";
const requiredTags = ["robobun", "robobun2"];
for (const tag of requiredTags) {
const value = await getCloudMetadataTag(tag);
if (typeof value === "string") {
tags[tag] = value;
}
}
}

Expand Down

0 comments on commit 8767db9

Please sign in to comment.