Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlukas authored Nov 12, 2024
1 parent 0cc7122 commit 8f10d8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Deploy SNAPSHOT / Release
uses: camunda-community-hub/community-action-maven-release@v1
with:
maven-additional-options: -P!autoFormat -Pbuild-image
maven-additional-options: -P!autoFormat
release-version: ${{ github.event.release.tag_name }}
nexus-usr: ${{ secrets.NEXUS_USR }}
nexus-psw: ${{ secrets.NEXUS_PSW }}
Expand All @@ -47,6 +47,11 @@ jobs:
maven-auto-release-after-close: true
github-token: ${{ secrets.GITHUB_TOKEN }}
id: release
- if: github.event.release
name: Set artefact version to release version
env:
TAG_NAME: ${{ github.event.release.tag_name }}
run: mvn versions:set -DnewVersion=${TAG_NAME}
- name: Build docker image
run: mvn clean package -DskipTests -Pbuild-image -B
- name: Push docker images
Expand Down

0 comments on commit 8f10d8e

Please sign in to comment.