File tree Expand file tree Collapse file tree 3 files changed +97
-17
lines changed Expand file tree Collapse file tree 3 files changed +97
-17
lines changed Original file line number Diff line number Diff line change 1+ name : bitcoin_core
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - dev
8+ workflow_dispatch :
9+ inputs :
10+ trigger :
11+ description : ' Trigger the workflow manually'
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ # use strategy matrix build images
17+ env :
18+ DOCKERHUB_REPO : " bitcoin-core"
19+ strategy :
20+ matrix :
21+ image :
22+ - name : 25-alpine
23+ context : " ./25/alpine"
24+ # - name: 25-alpine-tor
25+ # context: "./25/alpine/tor"
26+ - name : 25-debian
27+ context : " ./25/debian"
28+ - name : latest
29+ context : " ./25/debian"
30+ - name : 25-ubuntu
31+ context : " ./25/ubuntu"
32+ - name : 25-lightninglabs-alpine
33+ context : " ./25/alpine/lightninglabs"
34+ steps :
35+ - name : Checkout
36+ uses : actions/checkout@v4
37+ - name : Set up QEMU
38+ uses : docker/setup-qemu-action@v3
39+ - name : Set up Docker Buildx
40+ uses : docker/setup-buildx-action@v3
41+ - name : Login to Docker Hub
42+ uses : docker/login-action@v3
43+ with :
44+ username : ${{ secrets.DOCKERHUB_USERNAME }}
45+ password : ${{ secrets.DOCKERHUB_TOKEN }}
46+ - name : Build and push
47+ uses : docker/build-push-action@v5
48+ with :
49+ context : ${{ matrix.image.context }}
50+ platforms : linux/amd64,linux/arm64
51+ push : true
52+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPO }}:${{ matrix.image.name }}
Original file line number Diff line number Diff line change 1- name : build
1+ name : lighting_network
22
33on :
44 push :
1919 strategy :
2020 matrix :
2121 image :
22- - name : 25-alpine
23- context : " ./25/alpine"
24- # - name: 25-alpine-tor
25- # context: "./25/alpine/tor"
26- - name : 25-debian
27- context : " ./25/debian"
28- - name : latest
29- context : " ./25/debian"
30- - name : 25-ubuntu
31- context : " ./25/ubuntu"
32- - name : 25-lightninglabs-alpine
33- context : " ./25/alpine/lightninglabs"
34- # - name: ord-alpine
35- # context: "./ord/alpine"
36- - name : ord-ubuntu
37- context : " ./ord/ubuntu"
3822 - name : lnd-v0.17.0-beta-alpine
3923 context : " ./lnd/alpine/v0.17.0-beta"
4024 - name : lnd-v0.17.1-beta-alpine
Original file line number Diff line number Diff line change 1+ name : ord
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ - dev
8+ workflow_dispatch :
9+ inputs :
10+ trigger :
11+ description : ' Trigger the workflow manually'
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ # use strategy matrix build images
17+ env :
18+ DOCKERHUB_REPO : " bitcoin-core"
19+ strategy :
20+ matrix :
21+ image :
22+ # - name: ord-alpine
23+ # context: "./ord/alpine"
24+ - name : ord-ubuntu
25+ context : " ./ord/ubuntu"
26+ steps :
27+ - name : Checkout
28+ uses : actions/checkout@v4
29+ - name : Set up QEMU
30+ uses : docker/setup-qemu-action@v3
31+ - name : Set up Docker Buildx
32+ uses : docker/setup-buildx-action@v3
33+ - name : Login to Docker Hub
34+ uses : docker/login-action@v3
35+ with :
36+ username : ${{ secrets.DOCKERHUB_USERNAME }}
37+ password : ${{ secrets.DOCKERHUB_TOKEN }}
38+ - name : Build and push
39+ uses : docker/build-push-action@v5
40+ with :
41+ context : ${{ matrix.image.context }}
42+ platforms : linux/amd64,linux/arm64
43+ push : true
44+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.DOCKERHUB_REPO }}:${{ matrix.image.name }}
You can’t perform that action at this time.
0 commit comments