File tree 2 files changed +22
-29
lines changed
2 files changed +22
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 23
23
with :
24
24
distribution : ' zulu'
25
25
java-version : 11
26
+ cache : ' maven'
26
27
# Value of the distributionManagement/repository/id field of the pom.xml
27
28
server-id : sonatype-nexus-staging
28
29
gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
48
49
run : |
49
50
./mvnw -B release:rollback -Prelease -Dgpg.passphrase=${{secrets.GPG_PASSPHRASE}}
50
51
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
+
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