use cache in docker build action

This commit is contained in:
stone-w4tch3r
2024-07-29 04:52:05 +05:00
parent c2954465d1
commit b0ad070314

View File

@@ -19,6 +19,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
@@ -42,3 +45,5 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max