diff --git a/.github/workflows/mvn-release.yml b/.github/workflows/mvn-release.yml index 63312ff..7019894 100644 --- a/.github/workflows/mvn-release.yml +++ b/.github/workflows/mvn-release.yml @@ -16,19 +16,22 @@ jobs: publish: runs-on: ubuntu-latest steps: - - name: Check out code uses: actions/checkout@v4 - - name: Set up Java environment uses: actions/setup-java@v4 with: - java-version: 17 - distribution: zulu + java-version: 21 + distribution: temurin cache: maven gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC }} gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE - + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Deploy SNAPSHOT / Release uses: camunda-community-hub/community-action-maven-release@v1 with: