Skip to content
Snippets Groups Projects
Commit 264ff284 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(circleci): ignore machine images

Closes #8656
parent e28e8b44
No related branches found
No related tags found
No related merge requests found
......@@ -13,16 +13,6 @@ Array [
"replaceString": "cimg/node:14.8.0",
"versioning": "docker",
},
Object {
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"currentDigest": undefined,
"currentValue": "201903-01",
"datasource": "docker",
"depName": "ubuntu-1604",
"depType": "docker",
"replaceString": "ubuntu-1604:201903-01",
"versioning": "docker",
},
]
`;
......
......@@ -53,7 +53,12 @@ export function extractPackageFile(content: string): PackageFile | null {
);
dep.depType = 'docker';
dep.versioning = 'docker';
deps.push(dep);
if (
!dep.depName?.startsWith('ubuntu-') &&
!dep.depName?.startsWith('windows-server-')
) {
deps.push(dep);
}
}
}
} catch (err) /* istanbul ignore next */ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment