File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build All Services
2+ permissions :
3+ contents : read
4+
5+ on :
6+ push :
7+ branches :
8+ - main
9+ pull_request :
10+ branches :
11+ - main
12+
13+ jobs :
14+ checkout_repos :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ # Step 1: Check out the current repository in the 'current-repo' subdirectory
19+ - name : Checkout Current Repo
20+ uses : actions/checkout@v3
21+ with :
22+ path : bringyour
23+
24+ # Step 2: Check out another repository in the 'another-repo' subdirectory using GITHUB_TOKEN
25+ - name : Checkout Another Repo
26+ uses : actions/checkout@v3
27+ with :
28+ repository : bringyour/connect
29+ path : connect
30+ token : ${{ secrets.GITHUB_TOKEN }}
31+
32+ - name : Set up Docker
33+ run : |
34+ docker --version
35+ echo "Docker is ready to use."
36+
37+ - name : Build API image
38+ run : |
39+ docker build . -f bringyour/api/Dockerfile.compose
40+
41+ - name : Build Connect image
42+ run : |
43+ docker build . -f bringyour/connect/Dockerfile.compose
44+
45+ - name : Build Bringyourctl image
46+ run : |
47+ docker build . -f bringyour/bringyourctl/Dockerfile.compose
48+
49+ - name : Build Taskworker image
50+ run : |
51+ docker build . -f bringyour/taskworker/Dockerfile.compose
You can’t perform that action at this time.
0 commit comments