File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build and Push Docker Images
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v4
16+
17+ - name : Set up Docker Buildx
18+ uses : docker/setup-buildx-action@v3
19+
20+ - name : Log in to Docker Registry
21+ uses : docker/login-action@v3
22+ with :
23+ registry : registry.v0l.io
24+ username : registry
25+ password : ${{ secrets.REGISTRY_TOKEN }}
26+
27+ - name : Build and push lnvps-api
28+ uses : docker/build-push-action@v5
29+ with :
30+ context : .
31+ file : lnvps_api/Dockerfile
32+ push : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
33+ tags : registry.v0l.io/lnvps-api:latest
34+
35+ - name : Build and push lnvps-api-admin
36+ uses : docker/build-push-action@v5
37+ with :
38+ context : .
39+ file : lnvps_api_admin/Dockerfile
40+ push : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
41+ tags : registry.v0l.io/lnvps-api-admin:latest
42+
43+ - name : Build and push lnvps-operator
44+ uses : docker/build-push-action@v5
45+ with :
46+ context : .
47+ file : lnvps_operator/Dockerfile
48+ push : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
49+ tags : registry.v0l.io/lnvps-operator:latest
You can’t perform that action at this time.
0 commit comments