Skip to content

Commit

Permalink
Merge pull request #9712 from dlorenc/cache
Browse files Browse the repository at this point in the history
Add the cache dir to our prod builds.
  • Loading branch information
cpanato authored Dec 11, 2023
2 parents 3cf7c6f + fcc5304 commit 8ee0b21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ jobs:
# method doesn't trigger new builds for dependent updates.
- name: 'Build Wolfi'
run: |
# Setup the melange cache dir on the host so we can use that in subsequent builds
mkdir ../.melangecache
make \
ARCH=${{ matrix.arch }} \
MELANGE_EXTRA_OPTS="--keyring-append=/gcsfuse/wolfi-registry/wolfi-signing.rsa.pub" \
MELANGE_EXTRA_OPTS="--keyring-append=/gcsfuse/wolfi-registry/wolfi-signing.rsa.pub --cache-dir=$(pwd)/../.melangecache"" \
all -j1
# Always run this step for https://github.com/wolfi-dev/os/issues/8698
Expand Down

0 comments on commit 8ee0b21

Please sign in to comment.