Skip to content

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

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

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

Workflow file for this run

name: Build TypeScript
on:
push:
branches:
- main
paths:
- "typescript/**"
- ".github/workflows/typescript.yaml"
- "install_tooling.sh"
workflow_call:
env:
REGISTRY: ghcr.io
IMAGE_REPO: loft-sh/devspace-containers/typescript
defaults:
run:
working-directory: typescript
jobs:
typescript:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- tag: 20-alpine
- tag: 18-alpine
- tag: 17-alpine
- tag: 16-alpine
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
- 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 }}