Skip to content

Commit c73d13b

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

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
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:
@@ -201,7 +201,7 @@ jobs:
201201
flags: properties
202202
fail_ci_if_error: false
203203
docker-scan:
204-
runs-on: ubuntu-latest
204+
runs-on: ubuntu-22.04-oz-4core
205205
needs: [changed_files, ci]
206206
if: |
207207
${{ github.event.pull_request.draft == false && needs.changed_files.outputs.changed-docker-files == 'true' }}

Dockerfile.development

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ RUN apk update && apk add openssl-dev
99
# Copy
1010
COPY . .
1111

12-
RUN --mount=type=cache,target=/usr/local/cargo/registry \
13-
--mount=type=cache,target=/app/target \
14-
cargo install --root /usr/app --path . --debug --locked
12+
RUN cargo install --root /usr/app --path . --debug --locked
1513

1614
# Wolfi image
17-
FROM --platform=${BUILDPLATFORM} cgr.dev/chainguard/wolfi-base
15+
FROM --platform=${BUILDPLATFORM} cgr.dev/chainguard/wolfi-base:latest
1816

1917
ARG version=3.12
2018

0 commit comments

Comments
 (0)