File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77.env. *
88coverage
99.trae
10-
10+ .tmp-superpowers
Original file line number Diff line number Diff line change 1+ name : Publish Docker image to GHCR
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ packages : write
12+
13+ jobs :
14+ build-and-push :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - uses : docker/setup-buildx-action@v3
20+
21+ - uses : docker/login-action@v3
22+ with :
23+ registry : ghcr.io
24+ username : ${{ github.actor }}
25+ password : ${{ secrets.GITHUB_TOKEN }}
26+
27+ - uses : docker/metadata-action@v5
28+ id : meta
29+ with :
30+ images : ghcr.io/${{ github.repository }}
31+ tags : |
32+ type=ref,event=tag
33+ type=raw,value=latest
34+
35+ - uses : docker/build-push-action@v6
36+ with :
37+ context : .
38+ file : deploy/docker/Dockerfile
39+ push : true
40+ tags : ${{ steps.meta.outputs.tags }}
41+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments