Docker image for building rust projects. https://git.kemitix.net/kemitix/rust
Find a file
Paul Campbell d6ea7a689e
All checks were successful
/ test (map[name:1.74.1]) (push) Successful in 39s
/ test (map[name:nightly]) (push) Successful in 42s
/ test (map[name:stable]) (push) Successful in 4s
build: use env to get name of repo
2025-01-12 19:02:15 +00:00
.forgejo/workflows build: use env to get name of repo 2025-01-12 19:02:15 +00:00
src Add sample app to build and test 2024-05-16 19:46:05 +01:00
.gitignore build: add 'mise run test' 2025-01-11 18:26:16 +00:00
Cargo.toml Add sample app to build and test 2024-05-16 19:46:05 +01:00
Dockerfile feat: drop entrypoint in favour of using 'run' over 'uses' 2025-01-12 11:40:56 +00:00
LICENSE Initial commit 2024-05-16 17:59:27 +01:00
mise.toml build: add 'mise run test' 2025-01-11 18:26:16 +00:00
README.md feat: drop entrypoint in favour of using 'run' over 'uses' 2025-01-12 11:48:56 +00:00
renovate.json Add renovate.json 2024-08-02 18:16:19 +00:00

docker-builder-rust

Docker image for building Rust projects with Cargo.

Usage

In a Forgejo action file, e.g. .forgejo/workflows/test.yml:

on: [push]
jobs:
  test:
    runs-on: docker
    container:
      image:
        git.kemitix.net/kemitix/rust:v3.0.0
    steps:
      - name: test with nightly
        run: cargo +nightly test
      - name: build with v1.74.1
        run: cargo +1.74.1 cargo build
      - name: test with stable
        run: cargo test

Toolchains

The available toolchain in the image are:

  • nightly
  • stable
  • 1.74.1

Contents

  • nodejs
  • rust
  • git
  • cargo
  • cargo-binstall
  • cargo-mutants
  • cargo-chef
  • cargo-hack
  • release-plz