File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : MaaS API Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ permissions :
9+ actions : write
10+ contents : read
11+
12+ jobs :
13+ release :
14+ runs-on : ubuntu-latest
15+ defaults :
16+ run :
17+ working-directory : maas-api
18+
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v5
22+
23+ - name : Setup Go
24+ uses : actions/setup-go@v5
25+ with :
26+ go-version-file : maas-api/go.mod
27+ cache : true
28+ cache-dependency-path : maas-api/go.sum
29+
30+ - name : Login to Quay.io
31+ uses : docker/login-action@v3
32+ with :
33+ registry : quay.io
34+ username : ${{ secrets.APP_QUAY_USERNAME }}
35+ password : ${{ secrets.APP_QUAY_TOKEN }}
36+
37+ - name : Build and Push image to Quay.io
38+ run : make build-push-image TAG=${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments