Don't override existing REGISTRY_AUTH_FILE
Some checks failed
CI checks / Run ESLint (push) Has been cancelled
Test Login and Pull / Log in and pull image with Podman (push) Has been cancelled
Test Login and Pull / Log in and pull image with Buildah (push) Has been cancelled
Test Login and Pull / Log in and pull image with Docker (push) Has been cancelled
CI checks / Check Distribution (push) Has been cancelled
CI checks / Check Input and Output enums (push) Has been cancelled
Some checks failed
CI checks / Run ESLint (push) Has been cancelled
Test Login and Pull / Log in and pull image with Podman (push) Has been cancelled
Test Login and Pull / Log in and pull image with Buildah (push) Has been cancelled
Test Login and Pull / Log in and pull image with Docker (push) Has been cancelled
CI checks / Check Distribution (push) Has been cancelled
CI checks / Check Input and Output enums (push) Has been cancelled
This commit is contained in:
parent
4934294ad0
commit
d357a1c9fc
3 changed files with 5 additions and 2 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
|
@ -70,6 +70,9 @@ async function run(): Promise<void> {
|
|||
if (authFilePath) {
|
||||
podmanAuthFilePath = authFilePath;
|
||||
}
|
||||
else if (process.env.REGISTRY_AUTH_FILE) {
|
||||
podmanAuthFilePath = process.env.REGISTRY_AUTH_FILE;
|
||||
}
|
||||
else {
|
||||
// process.getuid might be undefined
|
||||
let authFileDir = path.join("/", "tmp", `podman-run-${process.getuid ? process.getuid() : null}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue