diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index c3fc479..33d6d7d 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -29,6 +29,9 @@ jobs: - name: Export requirements run: poetry export -o requirements.txt --only main,deploy + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to the Container registry uses: docker/login-action@v3 with: @@ -47,5 +50,7 @@ jobs: with: context: . push: true + cache-from: type=gha + cache-to: type=gha,mode=max tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}