File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build-docker-image
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
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 Hub
21+ uses : docker/login-action@v3
22+ with :
23+ username : ${{ secrets.DOCKER_USERNAME }}
24+ password : ${{ secrets.DOCKER_PASSWORD }}
25+
26+ - name : Build base image
27+ run : bash scripts/build-base-image.sh
28+
29+ - name : Build nginx image
30+ run : bash scripts/build-nginx.sh
31+
32+ - name : Build standalone image
33+ run : bash scripts/build-standalone.sh
34+
35+ - name : Build static image
36+ run : bash scripts/build-static.sh
37+
38+ - name : Push images to Docker Hub
39+ run : bash scripts/push-images.sh
You can’t perform that action at this time.
0 commit comments