File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build PBS Docker Image
2+
3+ on :
4+ push :
5+ branches :
6+ - " lt/otel-support"
7+
8+ permissions :
9+ contents : read
10+ packages : write
11+
12+ jobs :
13+ build-and-push-pbs-docker :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+ submodules : true
21+
22+ - name : Set up QEMU
23+ uses : docker/setup-qemu-action@v3
24+
25+ - name : Set up Docker Buildx
26+ uses : docker/setup-buildx-action@v3
27+
28+ - name : Login to GitHub Container Registry
29+ uses : docker/login-action@v3
30+ with :
31+ registry : ghcr.io
32+ username : ${{ github.actor }}
33+ password : ${{ secrets.GITHUB_TOKEN }}
34+
35+ - name : Build and push PBS Docker image
36+ uses : docker/build-push-action@v6
37+ with :
38+ context : .
39+ push : true
40+ platforms : linux/amd64
41+ tags : ghcr.io/commit-boost/pbs:${{ github.ref_name }}
42+ cache-from : type=registry,ref=ghcr.io/commit-boost/pbs:buildcache
43+ cache-to : type=registry,ref=ghcr.io/commit-boost/pbs:buildcache,mode=max
44+ file : provisioning/pbs.Dockerfile
You can’t perform that action at this time.
0 commit comments