build.bash: workaround a bug in docker buildx build CLI #146
Workflow file for this run
This file contains 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 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout HEAD | |
uses: actions/checkout@v1 | |
- shell: bash | |
run: sudo apt-get update | |
- name: QEMU | |
run: sudo apt-get install -y qemu-user-static binfmt-support | |
- run: docker buildx create --use | |
- name: Icinga 2 | |
run: git clone https://github.com/Icinga/icinga2.git | |
- name: Build | |
run: ./build.bash ./icinga2 all |