Skip to content

Commit 1d29de3

Browse files
authored
Merge pull request #11 from drone-plugins/CI-12041
feat: [CI-12041]: support access token for OIDC login
2 parents e674c91 + 457c078 commit 1d29de3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

app.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,11 +344,12 @@ func run(c *cli.Context) error {
344344
Dryrun: c.Bool("dry-run"),
345345
Cleanup: c.BoolT("docker.purge"),
346346
Login: Login{
347-
Registry: c.String("docker.registry"),
348-
Username: c.String("docker.username"),
349-
Password: c.String("docker.password"),
350-
Email: c.String("docker.email"),
351-
Config: c.String("docker.config"),
347+
Registry: c.String("docker.registry"),
348+
Username: c.String("docker.username"),
349+
Password: c.String("docker.password"),
350+
Email: c.String("docker.email"),
351+
Config: c.String("docker.config"),
352+
AccessToken: c.String("access-token"),
352353
},
353354
CardPath: c.String("drone-card-path"),
354355
MetadataFile: c.String("metadata-file"),

0 commit comments

Comments
 (0)