Skip to content

Update buildx.yml

Update buildx.yml #5

Workflow file for this run

name: buildx
on:
push:
branches:
- '*'
jobs:
build:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
target: [x86_64-unknown-linux-gnu]
use-cross: [true]
include:
- os: macos-12
target: x86_64-apple-darwin
- os: windows-2022
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os || 'ubuntu-22.04'}}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
defaults:
run:
shell: bash -xe {0}
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@a946f06b5ddbde456d0115dc585e8dc3c7a0c3e0
- run: docker buildx create --name mybuilder --driver docker-container --bootstrap --use
- run: docker buildx inspect