fix isEnterprise check
This commit is contained in:
+2
-3
@@ -93,10 +93,9 @@ export async function resolvePublishActionOptions(): Promise<PublishActionOption
|
|||||||
const containerRegistryUrl: URL =
|
const containerRegistryUrl: URL =
|
||||||
await iaToolkit.getContainerRegistryURL(apiBaseUrl)
|
await iaToolkit.getContainerRegistryURL(apiBaseUrl)
|
||||||
|
|
||||||
// TODO: Figure out if there's a better way to do this
|
|
||||||
const isEnterprise =
|
const isEnterprise =
|
||||||
!githubServerUrl.endsWith('github.com') &&
|
!githubServerUrl.endsWith('.github.com') &&
|
||||||
!githubServerUrl.endsWith('ghe.com')
|
!githubServerUrl.endsWith('.ghe.com')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
event,
|
event,
|
||||||
|
|||||||
Reference in New Issue
Block a user