Skip to content

Commit

Permalink
added ghcr login step to publish flow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlukas authored Apr 22, 2024
1 parent c684853 commit 2853d29
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/mvn-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2853d29

Please sign in to comment.