mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-12-22 03:57:55 +00:00
fix: Case mismatch
This commit is contained in:
parent
855145d4d7
commit
4a8b62446c
@ -4,12 +4,12 @@
|
||||
FROM lukemathwalker/cargo-chef:latest-rust-slim AS chef
|
||||
WORKDIR /chhoto-url
|
||||
|
||||
FROM chef as planner
|
||||
FROM chef AS planner
|
||||
COPY ./actix/Cargo.toml ./actix/Cargo.lock ./
|
||||
COPY ./actix/src ./src
|
||||
RUN cargo chef prepare --recipe-path recipe.json
|
||||
|
||||
FROM chef as builder
|
||||
FROM chef AS builder
|
||||
ARG target=x86_64-unknown-linux-musl
|
||||
RUN apt-get update && apt-get install -y musl-tools
|
||||
RUN rustup target add $target
|
||||
|
@ -1,13 +1,13 @@
|
||||
# SPDX-FileCopyrightText: 2023 Sayantan Santra <sayantan.santra689@gmail.com>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
FROM scratch as builder-amd64
|
||||
FROM scratch AS builder-amd64
|
||||
COPY ./actix/target/x86_64-unknown-linux-musl/release/chhoto-url /chhoto-url
|
||||
|
||||
FROM scratch as builder-arm64
|
||||
FROM scratch AS builder-arm64
|
||||
COPY ./actix/target/aarch64-unknown-linux-musl/release/chhoto-url /chhoto-url
|
||||
|
||||
FROM scratch as builder-arm
|
||||
FROM scratch AS builder-arm
|
||||
COPY ./actix/target/armv7-unknown-linux-musleabihf/release/chhoto-url /chhoto-url
|
||||
|
||||
ARG TARGETARCH
|
||||
|
Loading…
Reference in New Issue
Block a user