support publishing snapshots from docker based ci (#8634)
motivation: automate snapshot publishing from docker based ci changes: * add local settings.xml with env variables for publishing to sonatype-nexus-snapshots * pipe UID/PWD env variable in docker compose
This commit is contained in:
parent
51a650979f
commit
2b651eb1a2
9
.mvn/settings.xml
Normal file
9
.mvn/settings.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<settings>
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>sonatype-nexus-snapshots</id>
|
||||||
|
<username>${env.SANOTYPE_USER}</username>
|
||||||
|
<password>${env.SANOTYPE_PASSWORD}</password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
</settings>
|
@ -31,6 +31,9 @@ services:
|
|||||||
|
|
||||||
shell:
|
shell:
|
||||||
<<: *common
|
<<: *common
|
||||||
|
environment:
|
||||||
|
- SANOTYPE_USER
|
||||||
|
- SANOTYPE_PASSWORD
|
||||||
volumes:
|
volumes:
|
||||||
- ~/.ssh:/root/.ssh
|
- ~/.ssh:/root/.ssh
|
||||||
- ~/.gnupg:/root/.gnupg
|
- ~/.gnupg:/root/.gnupg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user