File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import { Octokit } from '@octokit/rest';
2
2
import { MAIN_BRANCH , REPOS } from '../constants' ;
3
3
import { getOctokit } from './octokit' ;
4
4
5
- const WINDOWS_IMAGE_REGEX =
6
- / e l e c t r o n a r c \. a z u r e c r \. i o \/ w i n - a c t i o n s - r u n n e r : m a i n - [ a - f 0 - 9 ] { 7 } @ s h a 2 5 6 : [ a - f 0 - 9 ] { 64 } / ;
7
- const LINUX_IMAGE_REGEX =
8
- / g h c r \. i o \/ a c t i o n s \/ a c t i o n s - r u n n e r : [ 0 - 9 ] + \. [ 0 - 9 ] + \. [ 0 - 9 ] + @ s h a 2 5 6 : [ a - f 0 - 9 ] { 64 } / ;
5
+ const WINDOWS_IMAGE_REGEX = / e l e c t r o n a r c \. a z u r e c r \. i o \/ w i n - a c t i o n s - r u n n e r : m a i n - [ a - f 0 - 9 ] { 7 } @ s h a 2 5 6 : [ a - f 0 - 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}/;
9
9
10
10
export async function getFileContent ( octokit : Octokit , filePath : string , ref = MAIN_BRANCH ) {
11
11
const { data } = await octokit . repos . getContent ( {
You can’t perform that action at this time.
0 commit comments