We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681fbc8 commit 80a957eCopy full SHA for 80a957e
packages/toolchain/toolchain/src/tasks/deploy/mod.rs
@@ -205,12 +205,19 @@ async fn create_edge_function_actors(
205
206
// Use build tags to match the appropriate build
207
// This is more robust than using a specific build ID
208
- let build_tags = json!({
+ let mut build_tags = json!({
209
"name": fn_name,
210
"current": "true",
211
"type": "function"
212
});
213
214
+ // Add extra tags to the function tags
215
+ if let Some(tags) = &function.build.tags {
216
+ for (k, v) in tags {
217
+ build_tags[k] = json!(v);
218
+ }
219
220
+
221
// Create or upgrade actors for each region
222
for region in ®ion_ids {
223
if existing_regions.contains(region) {
0 commit comments