Skip to content

Commit

Permalink
Add the gha build cache backend for the funnel-ci build step in the p…
Browse files Browse the repository at this point in the history
…ytest docker workflow
  • Loading branch information
miteshashar committed Jun 28, 2023
1 parent f95e7bf commit 9e381f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pytest-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build funnel-test image
id: build-funnel-test
- name: Build funnel-ci image
id: build-funnel-ci
uses: docker/build-push-action@v4
with:
context: .
Expand All @@ -41,6 +41,8 @@ jobs:
tags: funnel-ci
load: true
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Set permissions for coverage
run: docker compose -f docker-compose.ci.yml run -u root --entrypoint "" --no-deps --quiet-pull main chown -R 1000:1000 coverage
- name: Test with pytest
Expand Down

0 comments on commit 9e381f8

Please sign in to comment.