Skip to content

Commit

Permalink
enable cache
Browse files Browse the repository at this point in the history
  • Loading branch information
prydom committed Mar 24, 2024
1 parent 2e9067d commit 5505406
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
my-ostree-build:
name: Build Custom Image
runs-on: ubuntu-latest
env:
BB_BUILDKIT_CACHE_GHA: true
permissions:
contents: read
packages: write
Expand All @@ -21,11 +23,17 @@ jobs:
# !! Add your recipes here
- fedora-kinoite-laptop.yml
steps:
# the build is fully handled by the reusable github action
# This is required in order to take advantage of docker's cache integration with GitHub Actions.experimental
# https://github.com/moby/buildkit?tab=readme-ov-file#github-actions-cache-
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3

# the build is fully handled by the reusable github action
- name: Build Custom Image
uses: blue-build/github-action@v1.2
uses: blue-build/github-action@main
with:
recipe: ${{ matrix.recipe }}
cosign_private_key: ${{ secrets.SIGNING_SECRET }}
registry_token: ${{ github.token }}
pr_event_number: ${{ github.event.number }}
use_unstable_cli: true

0 comments on commit 5505406

Please sign in to comment.