From 9c9b57d4d490e460571e0cfcce51b49c6ae5c077 Mon Sep 17 00:00:00 2001 From: ddivad195 Date: Tue, 5 Mar 2024 16:35:10 +0000 Subject: [PATCH] update dist --- dist/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 273d85b..472a75c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -128230,9 +128230,8 @@ async function resolvePublishActionOptions() { } // Required Values fetched from the GitHub API const containerRegistryUrl = await iaToolkit.getContainerRegistryURL(apiBaseUrl); - // TODO: Figure out if there's a better way to do this - const isEnterprise = !githubServerUrl.endsWith('github.com') && - !githubServerUrl.endsWith('ghe.com'); + const isEnterprise = !githubServerUrl.endsWith('.github.com') && + !githubServerUrl.endsWith('.ghe.com'); return { event, ref,