Fix Docker image public visibility in GitHub Container Registry #312
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build desktop binaries | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| build-package: | |
| name: Build self-contained executables | |
| runs-on: ubuntu-latest | |
| container: mcr.microsoft.com/dotnet/sdk:8.0 | |
| strategy: | |
| matrix: | |
| include: | |
| - platform: windows | |
| platform-short: win | |
| runtime: win-x64 | |
| - platform: windows | |
| platform-short: win | |
| runtime: win-arm64 | |
| - platform: mac | |
| platform-short: mac | |
| runtime: osx-x64 | |
| - platform: mac | |
| platform-short: mac | |
| runtime: osx-arm64 | |
| - platform: linux | |
| platform-short: linux | |
| runtime: linux-x64 | |
| - platform: linux | |
| platform-short: linux | |
| runtime: linux-arm64 | |
| steps: | |
| - name: Check .NET version | |
| run: dotnet --version | |
| - name: Checkout source code | |
| uses: actions/checkout@v3 | |
| - name: Execute Action build-with-plugins | |
| uses: ./.github/actions/build-with-plugins | |
| with: | |
| platform: ${{ matrix.platform }} | |
| platform-short: ${{ matrix.platform-short }} | |
| runtime: ${{ matrix.runtime }} | |
| build-version: 0.0.${{ github.run_number }} | |
| env: | |
| PLATFORM: ${{ matrix.platform }} | |
| RUNTIME: ${{ matrix.runtime }} |