mirror of
https://github.com/docker/login-action.git
synced 2026-10-19 12:53:05 +01:00
Compare commits
2 Commits
master
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5734011492 | ||
|
|
71aa93c4e0 |
@@ -168,23 +168,3 @@ test('getAuthList masks registry-auth password when present', async () => {
|
||||
|
||||
expect(stdoutWriteSpy.mock.calls.map(call => call[0]).join('')).toContain('::add-mask::groundcontrol');
|
||||
});
|
||||
|
||||
// prettier-ignore
|
||||
test.each([
|
||||
['false', 'false'],
|
||||
['"false"', 'false'],
|
||||
['true', 'true'],
|
||||
['auto', 'auto'],
|
||||
['""', 'auto']
|
||||
])('getAuthList normalizes registry-auth ecr: %s', (ecr, expected) => {
|
||||
const [auth] = getAuthList({
|
||||
registry: '',
|
||||
username: '',
|
||||
password: '',
|
||||
scope: '',
|
||||
ecr: '',
|
||||
logout: true,
|
||||
registryAuth: `- registry: 012345678910.dkr.ecr.eu-west-3.amazonaws.com\n username: AWS\n password: token\n ecr: ${ecr}\n`
|
||||
});
|
||||
expect(auth.ecr).toBe(expected);
|
||||
});
|
||||
|
||||
241
dist/index.cjs
generated
vendored
241
dist/index.cjs
generated
vendored
File diff suppressed because one or more lines are too long
8
dist/index.cjs.map
generated
vendored
8
dist/index.cjs.map
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/licenses.txt
generated
vendored
2
dist/licenses.txt
generated
vendored
@@ -2399,7 +2399,7 @@ SOFTWARE.
|
||||
The following npm packages may be included in this product:
|
||||
|
||||
- js-yaml@5.2.1
|
||||
- js-yaml@5.2.2
|
||||
- js-yaml@5.4.1
|
||||
|
||||
These packages each contain the following license:
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"@docker/actions-toolkit": "^0.94.0",
|
||||
"http-proxy-agent": "^9.1.0",
|
||||
"https-proxy-agent": "^9.1.0",
|
||||
"js-yaml": "^5.2.2",
|
||||
"js-yaml": "^5.4.1",
|
||||
"uuid": "^14.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -62,7 +62,7 @@ export function getAuthList(inputs: Inputs): Array<Auth> {
|
||||
username: auth.username,
|
||||
password: auth.password,
|
||||
scope: auth.scope,
|
||||
ecr: String(auth.ecr ?? '') || 'auto',
|
||||
ecr: auth.ecr || 'auto',
|
||||
configDir: scopeToConfigDir(registry, auth.scope)
|
||||
};
|
||||
});
|
||||
|
||||
10
yarn.lock
10
yarn.lock
@@ -3174,7 +3174,7 @@ __metadata:
|
||||
globals: "npm:^17.3.0"
|
||||
http-proxy-agent: "npm:^9.1.0"
|
||||
https-proxy-agent: "npm:^9.1.0"
|
||||
js-yaml: "npm:^5.2.2"
|
||||
js-yaml: "npm:^5.4.1"
|
||||
prettier: "npm:^3.8.1"
|
||||
typescript: "npm:^5.9.3"
|
||||
uuid: "npm:^14.0.1"
|
||||
@@ -4357,14 +4357,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"js-yaml@npm:^5.2.2":
|
||||
version: 5.2.2
|
||||
resolution: "js-yaml@npm:5.2.2"
|
||||
"js-yaml@npm:^5.4.1":
|
||||
version: 5.4.1
|
||||
resolution: "js-yaml@npm:5.4.1"
|
||||
dependencies:
|
||||
argparse: "npm:^2.0.1"
|
||||
bin:
|
||||
js-yaml: bin/js-yaml.mjs
|
||||
checksum: 10/2b4c2933af12c97e1c4894a4f27fe9b06dab70a64a96bb50624b4429bef6bf11008bde20d868bce52a36784473314efc30078ba6025b58cf7537961e23b1ae9c
|
||||
checksum: 10/6fff9ee00bd59aeb7e1484b4281f5e927b117cbfbf3ffa6c0fef0c58519317eb61527e93c4aa70f417709229bc1eeed63cba773913577a64405975a72fba7180
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user