Skip to content

Merge pull request #33 from loft-sh/thomaskosiewski/actions-update #4

Merge pull request #33 from loft-sh/thomaskosiewski/actions-update

Merge pull request #33 from loft-sh/thomaskosiewski/actions-update #4

Workflow file for this run

name: Build Rust
on:
push:
branches:
- main
paths:
- "rust/**"
- ".github/workflows/rust.yaml"
- "install_tooling.sh"
workflow_call:
env:
REGISTRY: ghcr.io
IMAGE_REPO: loft-sh/devspace-containers/rust
defaults:
run:
working-directory: rust
jobs:
rust:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag:
- 1.72-alpine
- 1.72-bullseye
- 1.71-alpine
- 1.71-bullseye
- 1.67-alpine
- 1.67-bullseye
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: loft-sh/setup-devspace@main
- run: devspace build --var TAG=${{ matrix.tag }}