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 7b11d60
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 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 @@ -32,13 +32,6 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-client-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-client
- name: Build image
uses: docker/build-push-action@v5
with:
Expand All @@ -49,4 +42,5 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha
cache-to: type=gha

0 comments on commit 7b11d60

Please sign in to comment.