File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,12 +12,20 @@ jobs:
1212 runs-on : ubuntu-22.04
1313 steps :
1414 - name : Check out repository code
15- uses : actions/checkout@v2
16- - name : Push image to dockerhub
17- 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
22+ with :
23+ username : ${{ secrets.DOCKER_USERNAME }}
24+ password : ${{ secrets.DOCKER_PASSWORD }}
25+
26+ - name : Build and push Docker image
27+ uses : docker/build-push-action@v5
1828 with :
19- path : ./docker
20- username : ${{ secrets.DOCKERHUB_USERNAME }}
21- password : ${{ secrets.DOCKERHUB_PASSWORD }}
22- repository : pgpointcloud/pointcloud
23- tags : latest
29+ context : ./docker
30+ push : true
31+ tags : pgpointcloud/pointcloud:latest
You can’t perform that action at this time.
0 commit comments