diff --git a/.github/workflows/push-services.yaml b/.github/workflows/push-services.yaml index ad5a9133..77a9eb95 100644 --- a/.github/workflows/push-services.yaml +++ b/.github/workflows/push-services.yaml @@ -5,6 +5,7 @@ on: - v* branches: - main + - fix/ci workflow_dispatch: inputs: dispatch_description: diff --git a/Dockerfile b/Dockerfile index 93ab7dcd..2bc0d3e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,17 +46,14 @@ RUN forge install nomad-xyz/ExcessivelySafeCall@be417ab0c26233578b8d8f3a37b87bd1 # Build auction-server WORKDIR /src COPY . . -WORKDIR /src/auction-server RUN --mount=type=cache,target=/root/.cargo/registry cargo build --release # Build vault-simulator -WORKDIR /src -COPY vault-simulator vault-simulator WORKDIR /src/vault-simulator RUN --mount=type=cache,target=/root/.cargo/registry cargo build --release FROM rust:${RUST_VERSION} # Copy artifacts from other images -COPY --from=build /src/auction-server/target/release/auction-server /usr/local/bin/ +COPY --from=build /src/target/release/auction-server /usr/local/bin/ COPY --from=build /src/vault-simulator/target/release/vault-simulator /usr/local/bin/