https://github.com/parasyte/act-environment-rust
Run your CI workflows locally for Rust projects! :rocket: :crab:
https://github.com/parasyte/act-environment-rust
Last synced: 24 days ago
JSON representation
Run your CI workflows locally for Rust projects! :rocket: :crab:
- Host: GitHub
- URL: https://github.com/parasyte/act-environment-rust
- Owner: parasyte
- License: mit
- Created: 2020-12-31T19:47:58.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-31T20:21:31.000Z (about 5 years ago)
- Last Synced: 2025-01-23T04:25:41.191Z (about 1 year ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `act-environment-rust` :rocket: :crab:
A base image for running [Rust](https://www.rust-lang.org/) projects in [`act`](https://github.com/nektos/act).
## Example usage
Create a `.actrc` file in the root of your project repo with the following contents:
```
-P ubuntu-latest=kodewerx/act-environment-rust:slim
```
Run your CI workflows:
```bash
$ act
```
## Available images
| Tag | Base Image |
|----------|---------------|
| `slim` | `rust:slim` |
| `latest` | `rust:latest` |
## Building
If you want to build the images locally:
```bash
$ for tag in 'slim' 'latest' ; do \
docker build --build-arg FROM_TAG="$tag" -t kodewerx/act-environment-rust:"$tag" . ; \
done
```