diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index ebc6070..18db370 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -5,15 +5,13 @@ on: branches: [ "main" ] pull_request: branches: [ "main" ] + workflow_dispatch: jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Build @@ -21,6 +19,5 @@ jobs: uses: docker/build-push-action@v4 with: context: . - # load: true cache-from: type=gha cache-to: type=gha,mode=max,compression=zstd diff --git a/Dockerfile b/Dockerfile index 7f3337b..23433ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM clux/muslrust:stable AS chef +FROM clux/muslrust:1.76.0-stable-2024-02-28 AS chef USER root RUN cargo install cargo-chef WORKDIR /app