File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed
Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,28 @@ name: "Docker image latest"
33on :
44 push :
55 branches :
6- - master
6+ - master
77
88jobs :
99 build :
1010 name : Docker image latest
11- runs-on : ubuntu-20 .04
11+ runs-on : ubuntu-22 .04
1212 steps :
1313 - name : Check out repository code
14- uses : actions/checkout@v2
15- - name : Push image to dockerhub
16- uses : docker/build-push-action@v1
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Docker Buildx
17+ uses : docker/setup-buildx-action@v3
18+
19+ - name : Log in to Docker Hub
20+ uses : docker/login-action@v3
1721 with :
18- path : ./docker
1922 username : ${{ secrets.DOCKERHUB_USERNAME }}
2023 password : ${{ secrets.DOCKERHUB_PASSWORD }}
21- repository : pgpointcloud/pointcloud
22- tags : latest
24+
25+ - name : Build and push Docker image
26+ uses : docker/build-push-action@v5
27+ with :
28+ context : ./docker
29+ push : true
30+ tags : pgpointcloud/pointcloud:latest
You can’t perform that action at this time.
0 commit comments