Skip to content

Commit e24fddb

Browse files
authored
Merge pull request #264 from camunda-community-hub/infra-833-prepare-sonatype-migration
chore: prepare migration to Sonatype Central Portal
2 parents ba00176 + f76f614 commit e24fddb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,16 @@ jobs:
3333
# new login with new container registry url and PAT
3434
echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
3535
- name: Deploy SNAPSHOT / Release
36-
uses: camunda-community-hub/community-action-maven-release@v1 # pin@v1
36+
uses: camunda-community-hub/community-action-maven-release@v2 # pin@v2
3737
with:
3838
release-version: ${{ github.event.release.tag_name }}
3939
release-profile: community-action-maven-release
4040
nexus-usr: ${{ secrets.NEXUS_USR }}
4141
nexus-psw: ${{ secrets.NEXUS_PSW }}
42+
sonatype-central-portal-usr: ${{ secrets.COMMUNITY_HUB_MAVEN_CENTRAL_CP_USR }}
43+
sonatype-central-portal-psw: ${{ secrets.COMMUNITY_HUB_MAVEN_CENTRAL_CP_PSW }}
44+
# maven-usr, maven-psw and maven-url are deprecated; they are required only for publishing to the legacy OSS Sonatype repository.
45+
# Once the io.zeebe namespace is migrated to the Sonatype Central Portal, these can be safely removed.
4246
maven-usr: ${{ secrets.MAVEN_CENTRAL_DEPLOYMENT_USR }}
4347
maven-psw: ${{ secrets.MAVEN_CENTRAL_DEPLOYMENT_PSW }}
4448
maven-gpg-passphrase: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_PASSPHRASE }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>org.camunda.community</groupId>
1212
<artifactId>community-hub-release-parent</artifactId>
13-
<version>1.4.4</version>
13+
<version>2.0.0</version>
1414
<relativePath />
1515
</parent>
1616

0 commit comments

Comments
 (0)