From a320372ca9c66b5b6e2176fa9cfad9835bece637 Mon Sep 17 00:00:00 2001 From: Adrian Cederberg Date: Wed, 21 Aug 2024 15:03:53 -0600 Subject: [PATCH] fix(package): Cache should keep docker image in ``pytest`` job. It looks like it was necessary for the \`build\` section of \`server\` to be specified. --- .github/workflows/pr_checks.yaml | 1 + docker/compose.ci.yaml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index f9e61ce..73294b0 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -48,6 +48,7 @@ jobs: push: false cache-from: type=gha cache-to: type=gha,mode=max + load: true - name: Setup. run: | diff --git a/docker/compose.ci.yaml b/docker/compose.ci.yaml index 6a382f8..46c7e4e 100644 --- a/docker/compose.ci.yaml +++ b/docker/compose.ci.yaml @@ -3,9 +3,9 @@ name: captura-ci services: server: # NOTE: Should build before running for caching. - # build: - # context: '..' - # target: ci + build: + context: '..' + target: ci extends: file: ./compose.base.yaml service: server