mirror of
https://github.com/redhat-actions/podman-login.git
synced 2025-04-02 07:07:46 +02:00
Add info level message
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
b61759b6a0
commit
c3a671bb2a
3 changed files with 4 additions and 3 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -50,7 +50,8 @@ async function run(): Promise<void> {
|
||||||
// this environment variable to point to registry auth file
|
// this environment variable to point to registry auth file
|
||||||
const podmanAuthFilePath = path.join("/", "tmp", `podman-run-${process.getuid()}`,
|
const podmanAuthFilePath = path.join("/", "tmp", `podman-run-${process.getuid()}`,
|
||||||
"containers", "auth.json");
|
"containers", "auth.json");
|
||||||
core.debug(`Setting up the environment variable REGISTRY_AUTH_FILE to ${podmanAuthFilePath}`);
|
const REGISTRY_AUTH_ENVVAR = "REGISTRY_AUTH_FILE";
|
||||||
|
core.info(`Exporting ${REGISTRY_AUTH_ENVVAR}=${podmanAuthFilePath}`);
|
||||||
core.exportVariable("REGISTRY_AUTH_FILE", podmanAuthFilePath);
|
core.exportVariable("REGISTRY_AUTH_FILE", podmanAuthFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue