File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed
Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,29 @@ name: "Docker image latest"
33on :
44 push :
55 branches :
6- - master
6+ - master
7+ pull_request :
78
89jobs :
910 build :
1011 name : Docker image latest
11- runs-on : ubuntu-20 .04
12+ runs-on : ubuntu-22 .04
1213 steps :
1314 - name : Check out repository code
14- uses : actions/checkout@v2
15- - name : Push image to dockerhub
16- uses : docker/build-push-action@v1
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
1722 with :
18- path : ./docker
1923 username : ${{ secrets.DOCKERHUB_USERNAME }}
2024 password : ${{ secrets.DOCKERHUB_PASSWORD }}
21- repository : pgpointcloud/pointcloud
22- tags : latest
25+
26+ - name : Build and push Docker image
27+ uses : docker/build-push-action@v5
28+ with :
29+ context : ./docker
30+ push : true
31+ tags : pgpointcloud/pointcloud:latest
You can’t perform that action at this time.
0 commit comments