File tree Expand file tree Collapse file tree 2 files changed +39
-70
lines changed Expand file tree Collapse file tree 2 files changed +39
-70
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker Release
2
+ on :
3
+ workflow_dispatch :
4
+ inputs :
5
+ releaseVersion :
6
+ description : ' Release version to tag (e.g., 2.1.0). Will be used for release artifacts and git tag.'
7
+ required : true
8
+ developmentVersion :
9
+ description : ' Next development version (e.g., 2.2.0-SNAPSHOT). Will be used for continuing development after release.'
10
+ required : true
11
+ env :
12
+ OSS_USERNAME : ${{ secrets.OSS_USERNAME }}
13
+ OSS_PASSWORD : ${{ secrets.OSS_PASSWORD }}
14
+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
15
+ jobs :
16
+ docker :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v5
20
+ with :
21
+ ref : ${{ github.event.inputs.releaseVersion }}
22
+ - name : Set up QEMU
23
+ uses : docker/setup-qemu-action@v3
24
+ - name : Set up Docker Buildx
25
+ uses : docker/setup-buildx-action@v3
26
+ - name : Login to DockerHub
27
+ uses : docker/login-action@v3
28
+ with :
29
+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
30
+ password : ${{ secrets.DOCKER_HUB_PASSWORD }}
31
+ - name : Build & Push Docker image
32
+ uses : docker/build-push-action@v6
33
+ with :
34
+ context : .
35
+ push : true
36
+ platforms : linux/amd64,linux/arm64
37
+ tags : |
38
+ openapitools/openapi-diff:${{ github.event.inputs.releaseVersion }}
39
+ openapitools/openapi-diff:latest
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments