v0.0.64: got rid of registry input
This commit is contained in:
+3
-8
@@ -37,14 +37,9 @@ export async function run(): Promise<void> {
|
||||
return
|
||||
}
|
||||
|
||||
// Gather & validate user inputs
|
||||
const token: string = process.env.TOKEN!
|
||||
|
||||
console.log(
|
||||
`Official url: ${
|
||||
process.env.GITHUB_API_URL + '/packages/container-registry-url'
|
||||
}`
|
||||
)
|
||||
// TODO: once https://github.com/github/github/pull/309384 goes in, we can switch to the actual endpoint
|
||||
//const response = await fetch(
|
||||
// process.env.GITHUB_API_URL + '/packages/container-registry-url'
|
||||
//)
|
||||
@@ -56,9 +51,9 @@ export async function run(): Promise<void> {
|
||||
}
|
||||
const data = await response.json()
|
||||
const registryURL: URL = new URL(data.url)
|
||||
console.log(`registryURL (supplied): ${core.getInput('registry')}`) // TODO: get rid of the `registry` input
|
||||
console.log(`registryURL (from URL): ${registryURL}`)
|
||||
console.log(`Container registry URL: ${registryURL}`)
|
||||
|
||||
// Gather & validate user input
|
||||
// Paths to be included in the OCI image
|
||||
const paths: string[] = core.getInput('path').split(' ')
|
||||
let path = ''
|
||||
|
||||
Reference in New Issue
Block a user