You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor action.yml and README.md to replace deprecated registry-token inputs with registry-password, enhancing clarity and consistency in authentication methods for multiple registries.
tags|Enter the tag(s) you would like to name your image with. (example: `myorg/myapp:production`) Use multi-line format for multiple tags.|⚠️ Yes|
112
112
registry|Choose which container image repository to upload to. <a href="https://github.com/docker/login-action#usage">See all options.</a>| |`docker.io`
113
113
registry-username|Enter the username to authenticate with your first registry.|⚠️ Yes|
114
-
registry-token|Enter the token or password to authenticate with your first registry. (an access token is highly recommended)|⚠️ Yes|
114
+
registry-token (deprecated)| Use `registry-password` instead||
115
+
registry-password|Enter the password or token to authenticate with your registry. (an access token is highly recommended)|⚠️ Yes|
115
116
context|The relative path to the Dockerfile.| |`.`
116
117
dockerfile|Filename of the Dockerfile within the context that you set.| |`./Dockerfile`
117
118
platforms|Comma separated list of <a href="https://github.com/docker-library/official-images#architectures-other-than-amd64">platforms</a>.| |`linux/amd64`
registry-2|Choose which container image repository to upload to. <a href="https://github.com/docker/login-action#usage">See all options.</a>| |
124
125
registry-username-2|Enter the username to authenticate with your second registry.|⚠️ Yes (if you use the 2nd registry)|
125
-
registry-token-2|Enter the token or password to authenticate with your second registry. (an access token is highly recommended)|⚠️ Yes (if you use the 2nd registry)|
126
+
registry-password-2|Enter the token or password to authenticate with your second registry. (an access token is highly recommended)|⚠️ Yes (if you use the 2nd registry)|
126
127
registry-3|Choose which container image repository to upload to. <a href="https://github.com/docker/login-action#usage">See all options.</a>| |
127
128
registry-username-3|Enter the username to authenticate with your third registry.|⚠️ Yes (if you use the 3rd registry)|
128
-
registry-token-3|Enter the token or password to authenticate with your third registry. (an access token is highly recommended)|⚠️ Yes (if you use the 3rd registry)|
129
+
registry-password-3|Enter the token or password to authenticate with your third registry. (an access token is highly recommended)|⚠️ Yes (if you use the 3rd registry)|
129
130
130
131
> [!NOTE]
131
132
> At least one registry's credentials must be provided (either registry 1, 2, or 3).
Copy file name to clipboardExpand all lines: action.yml
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,11 @@ inputs:
7
7
registry-username:
8
8
description: 'Enter the username to authenticate with your registry.'
9
9
default: ''
10
+
registry-password:
11
+
description: 'Enter the password or token to authenticate with your registry. (an access token is highly recommended)'
12
+
default: ''
10
13
registry-token:
11
-
description: 'Enter the token or password to authenticate with your registry. (an access token is highly recommended)'
14
+
description: '[DEPRECATED - Use registry-password instead] Enter the token or password to authenticate with your registry. (an access token is highly recommended)'
12
15
default: ''
13
16
registry:
14
17
description: 'Registry to authenticate with (e.g., "docker.io" or "ghcr.io").'
@@ -17,15 +20,15 @@ inputs:
17
20
registry-username-2:
18
21
description: 'Enter the username to authenticate with your registry.'
19
22
default: ''
20
-
registry-token-2:
23
+
registry-password-2:
21
24
description: 'Enter the token or password to authenticate with your registry. (an access token is highly recommended)'
22
25
default: ''
23
26
registry-2:
24
27
description: 'Registry to authenticate with (e.g., "docker.io" or "ghcr.io").'
25
28
registry-username-3:
26
29
description: 'Enter the username to authenticate with your registry.'
27
30
default: ''
28
-
registry-token-3:
31
+
registry-password-3:
29
32
description: 'Enter the token or password to authenticate with your registry. (an access token is highly recommended)'
0 commit comments