Skip to content

Commit a4e91c6

Browse files
feat: argus-docker-build allow skipping manifest update (#307)
1 parent ecfb3b9 commit a4e91c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: .github/workflows/argus-docker-build.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
{
6565
"type": "object",
6666
"additionalProperties": {
67-
type: "object",
67+
"type": "object",
68+
"additionalProperties": false,
6869
"properties": {
6970
"context": { "type": "string" },
7071
"dockerfile": { "type": "string" },
@@ -95,6 +96,7 @@ jobs:
9596
"type": "array",
9697
"items": { "type": "string" }
9798
},
99+
"skip_manifest_update": { "type": "boolean" }
98100
},
99101
"required": ["context", "dockerfile"]
100102
}
@@ -230,7 +232,7 @@ jobs:
230232
result-encoding: string
231233
script: |
232234
const images = ${{ needs.prep.outputs.images }};
233-
const argusRootDirs = images.filter(image => image.should_build).map(image => image.argus_root);
235+
const argusRootDirs = images.filter(image => image.should_build && !image.skip_manifest_update).map(image => image.argus_root);
234236
console.log('Argus root dirs:', argusRootDirs);
235237
return argusRootDirs.join(',');
236238

0 commit comments

Comments
 (0)