File tree Expand file tree Collapse file tree 2 files changed +22
-29
lines changed Expand file tree Collapse file tree 2 files changed +22
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2323 with :
2424 distribution : ' zulu'
2525 java-version : 11
26+ cache : ' maven'
2627 # Value of the distributionManagement/repository/id field of the pom.xml
2728 server-id : sonatype-nexus-staging
2829 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
4849 run : |
4950 ./mvnw -B release:rollback -Prelease -Dgpg.passphrase=${{secrets.GPG_PASSPHRASE}}
5051 echo "You may need to manually delete the GitHub tag, if it was created."
52+ docker :
53+ needs : release
54+ runs-on : ubuntu-latest
55+ steps :
56+ - uses : actions/checkout@v2.4.0
57+ ref : ${{ github.event.inputs.releaseVersion }}
58+ - name : Set up Docker Buildx
59+ uses : docker/setup-buildx-action@v1
60+ - name : Login to DockerHub
61+ uses : docker/login-action@v1
62+ with :
63+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
64+ password : ${{ secrets.DOCKER_HUB_PASSWORD }}
65+ - name : Build & Push Docker image
66+ uses : docker/build-push-action@v2
67+ with :
68+ context : .
69+ push : true
70+ tags : |
71+ openapitools/openapi-diff:${{ github.event.inputs.releaseVersion }}
72+ openapitools/openapi-diff:latest
You can’t perform that action at this time.
0 commit comments