name: ci on: workflow_dispatch: push: branches: - 'master' - '[0-9]+.[0-9]{2}' tags: - 'v*' pull_request: env: BUNDLES_OUTPUT: ./bundles jobs: build: runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: target: - binary - dynbinary steps: - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Build uses: docker/bake-action@v1 with: targets: ${{ matrix.target }} - name: Upload build artifacts uses: actions/upload-artifact@v2 with: name: ${{ matrix.target }} path: ${{ env.BUNDLES_OUTPUT }}/${{ matrix.target }}-daemon/* if-no-files-found: error