File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Docker CI
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*'
7
+
8
+ jobs :
9
+ docker :
10
+ runs-on : ubuntu-latest
11
+ environment : release
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Docker meta
17
+ id : meta
18
+ uses : docker/metadata-action@v5
19
+ with :
20
+ images : |
21
+ ${{ secrets.DOCKER_HUB_USERNAME }}/ib-gateway
22
+ tags : |
23
+ type=semver,pattern={{version}}
24
+ type=semver,pattern={{major}}.{{minor}}
25
+
26
+ - name : Set up Docker Buildx
27
+ uses : docker/setup-buildx-action@v3
28
+
29
+ - name : Login to Docker Hub
30
+ uses : docker/login-action@v3
31
+ with :
32
+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
33
+ password : ${{ secrets.DOCKER_HUB_TOKEN }}
34
+
35
+ - name : Build and push
36
+ uses : docker/build-push-action@v5
37
+ with :
38
+ context : .
39
+ push : true
40
+ tags : ${{ steps.meta.outputs.tags }}
41
+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change
1
+ name : Release Please
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ permissions :
9
+ contents : write
10
+ pull-requests : write
11
+
12
+ jobs :
13
+ release-please :
14
+ runs-on : ubuntu-latest
15
+ environment : release
16
+ steps :
17
+ - uses : google-github-actions/release-please-action@v3
18
+ with :
19
+ release-type : node
20
+ package-name : ib-gateway
21
+ token : ${{ secrets.RELEASE_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments