File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 1- name : Build and push Docker image to dockerhub
1+ name : Build and push Docker image to Docker Hub
22
33on :
44 push :
55 branches : [ "main" ]
6-
7- jobs :
86
7+ jobs :
98 build :
10-
119 runs-on : ubuntu-latest
1210
1311 steps :
1412 - name : Check out the repo
1513 uses : actions/checkout@v4
1614
17- - name : Login to dockerhub
15+ - name : Login to Docker Hub
1816 uses : docker/login-action@v3
1917 with :
20- username : ${{ secrets.DOCKER_USER_NAME }}
21- password : ${{ secrets.DOCKER_SECERT }}
18+ username : ${{ secrets.DOCKER_USER_NAME }}
19+ password : ${{ secrets.DOCKER_SECERT }}
2220
23- - name : Build and push to dockerhub
21+ - name : Build and push to Docker Hub
2422 uses : docker/build-push-action@v5
2523 with :
26- context :
27- push : true
28- tags : hydro2070/complier:latest
24+ context : .
25+ push : true
26+ tags : hydro2070/complier:latest
You can’t perform that action at this time.
0 commit comments