Skip to content

Commit

Permalink
Revert: Try to skip non-needed docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
dadoonet committed Oct 20, 2023
1 parent 3191ded commit 6b7f6e7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,8 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Package the Docker images
run: mvn --batch-mode package -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_TOKEN }}
- name: Deploy with Maven
run: mvn --batch-mode deploy -DskipTests -Ddocker.skip.build
run: mvn --batch-mode deploy -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_TOKEN }}
Expand Down

0 comments on commit 6b7f6e7

Please sign in to comment.