File tree Expand file tree Collapse file tree 3 files changed +69
-0
lines changed
Expand file tree Collapse file tree 3 files changed +69
-0
lines changed Original file line number Diff line number Diff line change 5252 type=semver,pattern={{version}}
5353 type=semver,pattern={{major}}.{{minor}}
5454
55+ - name : Set up Docker Buildx
56+ uses : docker/setup-buildx-action@v3
57+ with :
58+ driver : docker-container
59+
5560 - name : Build and push Docker image
5661 uses : docker/build-push-action@v5
5762 with :
Original file line number Diff line number Diff line change 1+ name : Deploy XDatabase Proxy
2+
3+ on :
4+ push :
5+ branches :
6+ - development
7+
8+ jobs :
9+ build-and-push :
10+ runs-on : ubuntu-latest
11+ if : github.ref == 'refs/heads/development'
12+ permissions :
13+ contents : read
14+ packages : write
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Go
21+ uses : actions/setup-go@v4
22+ with :
23+ go-version : " 1.23.4"
24+
25+ - name : Run tests
26+ run : go test -v ./...
27+
28+ - name : Log in to the Container registry
29+ uses : docker/login-action@v3
30+ with :
31+ registry : ghcr.io
32+ username : hasirciogli
33+ password : ${{ secrets.GITHUB_TOKEN }}
34+
35+ - name : Extract metadata for Docker
36+ id : meta
37+ uses : docker/metadata-action@v5
38+ with :
39+ images : ghcr.io/hasirciogli/xdatabase-proxy-development
40+ tags : |
41+ type=ref,event=branch
42+ type=ref,event=pr
43+ type=semver,pattern={{version}}
44+ type=semver,pattern={{major}}.{{minor}}
45+
46+ - name : Set up Docker Buildx
47+ uses : docker/setup-buildx-action@v3
48+ with :
49+ driver : docker-container
50+
51+ - name : Build and push Docker image
52+ uses : docker/build-push-action@v5
53+ with :
54+ context : .
55+ push : true
56+ tags : ${{ steps.meta.outputs.tags }}
57+ labels : ${{ steps.meta.outputs.labels }}
58+ platforms : linux/amd64,linux/arm64,linux/386
Original file line number Diff line number Diff line change @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
2020### Security
2121
22+ ## [ 1.0.8] - 2025-07-07
23+
24+ ### Fixed
25+
26+ - Fixed the buildx error
27+
2228## [ 1.0.7] - 2025-07-07
2329
2430### Added
You can’t perform that action at this time.
0 commit comments