Skip to content

Commit

Permalink
chore: trying local cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia committed Jan 30, 2024
1 parent c757910 commit f3f930e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Test Reporting App

on:
push:
branches: [develop, main, feat/37-client-docker-file]
branches: [develop, main]
pull_request:
branches: [develop, main]
workflow_dispatch:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-client-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-client
${{ runner.os }}-buildx-client-
- name: Build image
uses: docker/build-push-action@v5
with:
Expand All @@ -48,5 +48,6 @@ jobs:
file: client/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

0 comments on commit f3f930e

Please sign in to comment.