name: Build and publish mistserver on: push: branches: - main jobs: build: runs-on: alpine-linux steps: - name: checkout uses: actions/checkout@v4 - name: build and push database run: | docker buildx build \ --platform=linux/amd64,linux/arm64 \ -t docker.mistox.net/eventoscaudillos-sql \ --push \ ./database - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: dotnet-version: '10.0.x' cache: true - name: Restore Dependencies run: dotnet restore - name: Dotnet Publish run: dotnet publish --configuration Release --output ./publish --no-restore - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: dotnet-app-release path: ./publish