Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgyKirichenko committed Oct 31, 2024
1 parent 0de0694 commit 4750f14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ jobs:
uses: actions/cache@v3
with:
key: default
path: /ccache
path: ccache-build
- name: inject cache into docker
uses: reproducible-containers/buildkit-cache-dance@v3.1.0
with:
cache-map: |
{
"ccache-build": "/root/.ccache/ccache"
}
skip-extraction: ${{ steps.cache.outputs.cache-hit }}
- name: version
run: |
export YANET_VERSION=${{github.ref_name}}
Expand Down Expand Up @@ -49,3 +57,5 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
2 changes: 1 addition & 1 deletion build/Dockerfile.image
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ RUN meson setup --prefix=/target \
-Dversion_custom=$YANET_VERSION_CUSTOM \
build

RUN --mount=type=cache,target=/ccache/ meson compile -C build
RUN --mount=type=cache,target=/root/.cache/ccache/ meson compile -C build


FROM --platform=linux/amd64 ubuntu:${RELEASE}
Expand Down

0 comments on commit 4750f14

Please sign in to comment.