Skip to content

Commit 854c9e4

Browse files
authored
switch to user token to authenticate against Sonatype server (envoyproxy#382)
Signed-off-by: rulex123 <[email protected]>
1 parent f0e3e59 commit 854c9e4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.circleci/settings-snapshots.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<servers>
44
<server>
55
<id>sonatype-nexus-snapshots</id>
6-
<username>${env.SONATYPE_USER}</username>
7-
<password>${env.SONATYPE_PASSWORD}</password>
6+
<username>${env.SONATYPE_TOKEN_USERNAME}</username>
7+
<password>${env.SONATYPE_TOKEN_PASSWORD}</password>
88
</server>
99
</servers>
1010
<profiles>

.circleci/settings.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<servers>
44
<server>
55
<id>sonatype-nexus-snapshots</id>
6-
<username>${env.SONATYPE_USER}</username>
7-
<password>${env.SONATYPE_PASSWORD}</password>
6+
<username>${env.SONATYPE_TOKEN_USERNAME}</username>
7+
<password>${env.SONATYPE_TOKEN_PASSWORD}</password>
88
</server>
99
<server>
1010
<id>sonatype-nexus-staging</id>
11-
<username>${env.SONATYPE_USER}</username>
12-
<password>${env.SONATYPE_PASSWORD}</password>
11+
<username>${env.SONATYPE_TOKEN_USERNAME}</username>
12+
<password>${env.SONATYPE_TOKEN_PASSWORD}</password>
1313
</server>
1414
</servers>
1515
<profiles>

0 commit comments

Comments
 (0)