@@ -32,46 +32,54 @@ jobs:
3232 - name : Set up Docker Buildx
3333 uses : docker/setup-buildx-action@v2
3434 - name : Build and push drivers
35- uses : docker/build-push-action@v4
35+ uses : docker/build-push-action@v5
3636 with :
3737 context : ./drivers
3838 file : ./drivers/Dockerfile
3939 push : true
4040 build-args : |
4141 REGISTRY=${{ vars.GEOKUBE_REGISTRY }}
4242 TAG=v0.2a6
43+ cache-from : type=gha
44+ cache-to : type=gha,mode=max
4345 tags : |
4446 ${{ vars.GEOLAKE_REGISTRY }}/geolake-drivers:${{ env.RELEASE_TAG }}
4547 - name : Build and push datastore component
46- uses : docker/build-push-action@v4
48+ uses : docker/build-push-action@v5
4749 with :
4850 context : ./datastore
4951 file : ./datastore/Dockerfile
5052 push : true
5153 build-args : |
5254 REGISTRY=${{ vars.GEOLAKE_REGISTRY }}
5355 TAG=${{ env.RELEASE_TAG }}
56+ cache-from : type=gha
57+ cache-to : type=gha,mode=max
5458 tags : |
5559 ${{ vars.GEOLAKE_REGISTRY }}/geolake-datastore:${{ env.RELEASE_TAG }}
5660 - name : Build and push api component
57- uses : docker/build-push-action@v4
61+ uses : docker/build-push-action@v5
5862 with :
5963 context : ./api
6064 file : ./api/Dockerfile
6165 push : true
6266 build-args : |
6367 REGISTRY=${{ vars.GEOLAKE_REGISTRY }}
6468 TAG=${{ env.RELEASE_TAG }}
69+ cache-from : type=gha
70+ cache-to : type=gha,mode=max
6571 tags : |
6672 ${{ vars.GEOLAKE_REGISTRY }}/geolake-api:${{ env.RELEASE_TAG }}
6773 - name : Build and push executor component
68- uses : docker/build-push-action@v4
74+ uses : docker/build-push-action@v5
6975 with :
7076 context : ./executor
7177 file : ./executor/Dockerfile
7278 push : true
7379 build-args : |
7480 REGISTRY=${{ vars.GEOLAKE_REGISTRY }}
7581 TAG=${{ env.RELEASE_TAG }}
82+ cache-from : type=gha
83+ cache-to : type=gha,mode=max
7684 tags : |
7785 ${{ vars.GEOLAKE_REGISTRY }}/geolake-executor:${{ env.RELEASE_TAG }}
0 commit comments