Skip to content

Commit

Permalink
Finally! Release this docker cross-build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatson committed Aug 27, 2024
1 parent e5418e2 commit 1b50592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
usr-local-cargo-registry-cache
usr-local-cargo-registry-index
src-target
key: docker-xx-v1-${{ matrix.platform }}
key: docker-xx-v1-${{ matrix.platform }}-release
save-always: true

- name: inject cache into docker
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.xx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ RUN xx-apk add gcc musl-dev
COPY / /src/
WORKDIR /src/

ENV PROFILE_NAME=dev
ENV PROFILE_FOLDER=debug
ENV PROFILE_NAME=release-github
ENV PROFILE_FOLDER=release-github

RUN --mount=type=cache,target=/usr/local/cargo/git/db \
--mount=type=cache,target=/usr/local/cargo/registry/cache \
Expand Down

0 comments on commit 1b50592

Please sign in to comment.