File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and push image
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ env :
10+ IMAGE_NAME : relistenapi # <‑‑ repo/image name in the registry
11+ REGISTRY : 100.97.22.118:32000
12+ TAG : latest
13+
14+ jobs :
15+
16+ build :
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - uses : actions/checkout@v4
21+
22+ - name : Tailscale
23+ uses : tailscale/github-action@v3
24+ with :
25+ oauth-client-id : ${{ secrets.TS_OAUTH_CLIENT_ID }}
26+ oauth-secret : ${{ secrets.TS_OAUTH_SECRET }}
27+ use-cache : ' true'
28+ tags : tag:ci
29+ version : latest
30+
31+ - name : Build and push image
32+ uses : docker/build-push-action@v5
33+ with :
34+ context : .
35+ platforms : linux/amd64 # x86_64
36+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
37+ push : true
You can’t perform that action at this time.
0 commit comments