Skip to content

Commit 3775fe7

Browse files
Copilotneilime
andcommitted
feat(docker-build-images): enable ARM64 standard runners for private repos
Co-authored-by: neilime <314088+neilime@users.noreply.github.com>
1 parent c8b15cb commit 3775fe7

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/docker-build-images.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ jobs:
237237
env:
238238
IMAGES: ${{ steps.validate-inputs.outputs.images }}
239239
RUNS_ON_INPUT: ${{ inputs.runs-on }}
240-
REPOSITORY_PRIVATE: ${{ github.event.repository.private }}
241240
with:
242241
script: |
243242
const imagesInput = process.env.IMAGES;
@@ -253,13 +252,10 @@ jobs:
253252
{ runner: "windows-latest", platformPattern: /^windows\// }
254253
];
255254
256-
const isRepositoryPrivate = process.env.REPOSITORY_PRIVATE === 'true';
257-
if (!isRepositoryPrivate) {
258-
standardHostedRunnerByPlatform.unshift(
259-
{ runner: "ubuntu-24.04-arm", platformPattern: /^linux\/arm/ }, // FIXME: should use latest when available,
260-
{ runner: "windows-11-arm", platformPattern: /^windows\/arm/ }
261-
);
262-
}
255+
standardHostedRunnerByPlatform.unshift(
256+
{ runner: "ubuntu-24.04-arm", platformPattern: /^linux\/arm/ }, // FIXME: should use latest when available,
257+
{ runner: "windows-11-arm", platformPattern: /^windows\/arm/ }
258+
);
263259
264260
function getPlatformRunsOn(platform) {
265261
if (platform.hasOwnProperty('runs-on')) {

0 commit comments

Comments
 (0)