Skip to content

Commit 9a600a9

Browse files
committed
fix: Cargo sparse index error
1 parent 2513dfc commit 9a600a9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
branches: [main]
66
types: [opened, synchronize, reopened, ready_for_review]
7-
paths-ignore: [docs/**, '**.md', .github/**]
7+
paths-ignore: [docs/**, '**.md', .github/**, .gitignore]
88
push:
99
branches: [main]
1010
paths-ignore:

Dockerfile.development

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ RUN apk update && apk add openssl-dev
99
# Copy
1010
COPY . .
1111

12+
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=git
13+
1214
RUN --mount=type=cache,target=/usr/local/cargo/registry \
1315
--mount=type=cache,target=/app/target \
1416
cargo install --root /usr/app --path . --debug --locked
1517

1618
# Wolfi image
17-
FROM --platform=${BUILDPLATFORM} cgr.dev/chainguard/wolfi-base
19+
FROM --platform=${BUILDPLATFORM} cgr.dev/chainguard/wolfi-base:latest
1820

1921
ARG version=3.12
2022

0 commit comments

Comments
 (0)