Skip to content

Fix Dockerfile UI build output path #7

Fix Dockerfile UI build output path

Fix Dockerfile UI build output path #7

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- uses: actions/setup-node@v4
with:
node-version: "22"
- name: Build UI
run: cd ui && npm ci && npm run build
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: latest
- name: Vet
run: go vet ./...
- name: Test
run: go test -v -race ./...
- name: Build
run: go build -o segdsp .
docker:
needs: test
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v7
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v6
push: true
tags: racerxdl/segdsp:latest