fix: use ghcr mirror by default (#113)

This commit is contained in:
Han Qiao
2023-01-04 13:33:47 +08:00
committed by GitHub
parent 63ceca492b
commit 6439e03aa2
3 changed files with 6 additions and 1 deletions

2
dist/index.js generated vendored
View File

@@ -54,6 +54,8 @@ function run() {
const pathToCLI = yield tc.extractTar(pathToTarball);
// Expose the tool by adding it to the PATH
core.addPath(pathToCLI);
// Use GHCR mirror by default
core.exportVariable('SUPABASE_INTERNAL_IMAGE_REGISTRY', 'ghcr.io');
}
catch (error) {
if (error instanceof Error)