Skip to content

Commit

Permalink
[no ci] improve release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Apr 18, 2022
1 parent 3d57e80 commit e98b9d4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: docker push
run: |
docker tag karate-chrome ptrthomas/karate-chrome:${{ github.event.inputs.version }}
docker tag karate-chrome ptrthomas/karate-chrome:latest
docker push ptrthomas/karate-chrome:${{ github.event.inputs.version }}
docker push ptrthomas/karate-chrome:latest
# - name: docker push
# run: |
# docker tag karate-chrome ptrthomas/karate-chrome:${{ github.event.inputs.version }}
# docker tag karate-chrome ptrthomas/karate-chrome:latest
# docker push ptrthomas/karate-chrome:${{ github.event.inputs.version }}
# docker push ptrthomas/karate-chrome:latest
- name: maven deploy to central
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
run: |
mvn -B -ntp clean deploy -DskipTests -P pre-release,release
mvn -B -ntp deploy -DskipTests -P pre-release,release
- name: maven build binaries
run: |
mvn clean package -DskipTests -P fatjar -f karate-core/pom.xml
mvn clean package -DskipTests -P fatjar -f karate-robot/pom.xml
mvn package -DskipTests -P fatjar -f karate-core/pom.xml
mvn package -DskipTests -P fatjar -f karate-robot/pom.xml
- name: upload binaries
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit e98b9d4

Please sign in to comment.