diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d06f47b..24b7265 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -113,9 +113,9 @@ jobs: - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Build step + - name: Build crate Docker image run: | - echo "No Docker images for this repository" + docker build -t sdk_common:build . - name: Run integration tests run: | diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..75ad742 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +# Debian-based Rust builder for library/test +FROM rust:1.70-bookworm AS build +WORKDIR /app +COPY . . +RUN cargo build --release && cargo test --release