Skip to content

Commit 84e5d37

Browse files
no linux yet
1 parent 56d60db commit 84e5d37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/utils/arc-image.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { Octokit } from '@octokit/rest';
22
import { MAIN_BRANCH, REPOS } from '../constants';
33
import { getOctokit } from './octokit';
44

5-
const WINDOWS_IMAGE_REGEX =
6-
/electronarc\.azurecr\.io\/win-actions-runner:main-[a-f0-9]{7}@sha256:[a-f0-9]{64}/;
7-
const LINUX_IMAGE_REGEX =
8-
/ghcr\.io\/actions\/actions-runner:[0-9]+\.[0-9]+\.[0-9]+@sha256:[a-f0-9]{64}/;
5+
const WINDOWS_IMAGE_REGEX = /electronarc\.azurecr\.io\/win-actions-runner:main-[a-f0-9]{7}@sha256:[a-f0-9]{64}/;
6+
// TODO: Also roll the linux ARC container
7+
// const LINUX_IMAGE_REGEX =
8+
// /ghcr\.io\/actions\/actions-runner:[0-9]+\.[0-9]+\.[0-9]+@sha256:[a-f0-9]{64}/;
99

1010
export async function getFileContent(octokit: Octokit, filePath: string, ref = MAIN_BRANCH) {
1111
const { data } = await octokit.repos.getContent({

0 commit comments

Comments
 (0)