File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " docker: Build and push ghcr.io/zeuswpi/tap:pr-[number]"
2+
3+ on :
4+ pull_request :
5+
6+ concurrency :
7+ group : docker-nightly-${{ github.ref_name }}
8+ cancel-in-progress : true
9+
10+ jobs :
11+ docker :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v6
15+
16+ - uses : docker/setup-buildx-action@v3
17+
18+ - uses : docker/login-action@v3
19+ with :
20+ registry : ghcr.io
21+ username : ${{ github.actor }}
22+ password : ${{ github.token }}
23+
24+ - uses : docker/build-push-action@v6
25+ with :
26+ context : .
27+ file : Dockerfile.production
28+ push : true
29+ tags : |
30+ ghcr.io/zeuswpi/tap:pr-${{ github.event.pull_request.number }}
31+ ghcr.io/zeuswpi/tap:pr-${{ github.event.pull_request.number }}-${{ github.sha }}
You can’t perform that action at this time.
0 commit comments