File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Push Docker Images
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ build-and-push :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v3
15+
16+ - name : Set up Docker Buildx
17+ uses : docker/setup-buildx-action@v2
18+
19+ - name : Login to GitHub Container Registry
20+ uses : docker/login-action@v2
21+ with :
22+ registry : ghcr.io
23+ username : ${{ github.actor }}
24+ password : ${{ secrets.GITHUB_TOKEN }}
25+
26+ - name : Build and push op-node image
27+ uses : docker/build-push-action@v4
28+ with :
29+ context : .
30+ file : ./op-node/Dockerfile
31+ push : true
32+ tags : ghcr.io/node-real/optimism/op-node:${{ github.ref_name }}
33+
34+ - name : Build and push op-batcher image
35+ uses : docker/build-push-action@v4
36+ with :
37+ context : .
38+ file : ./op-batcher/Dockerfile
39+ push : true
40+ tags : ghcr.io/node-real/optimism/op-batcher:${{ github.ref_name }}
41+
42+ - name : Build and push op-proposer image
43+ uses : docker/build-push-action@v4
44+ with :
45+ context : .
46+ file : ./op-proposer/Dockerfile
47+ push : true
48+ tags : ghcr.io/node-real/optimism/op-proposer:${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments