version: 2
jobs:
  build:
    docker:
      - image: debian:stretch-slim
    steps:
      - run: apt-get -y update
      - run: apt-get -y install coreutils qemu gawk sed curl wget make git ssh gnupg2
      - run: echo 'deb http://download.virtualbox.org/virtualbox/debian stretch contrib' > /etc/apt/sources.list.d/virtualbox.list
      - run: wget https://www.virtualbox.org/download/oracle_vbox_2016.asc
      - run: apt-key add oracle_vbox_2016.asc
      - run: apt-get -y update
      - run: apt-get -y install virtualbox-6.0
      - checkout
      - run: make debian-stretch
      - run: make ubuntu-bionic
      - run: make centos
  # publish assets to github
  publish:
    docker:
      - image: alpine:latest
    steps:
      - run: apk add git ssh
      - checkout
      - run: make install-ghr
      - run: make todist
      - run: make publish
workflows:
  version: 2
  build:
    jobs:
      - build
      - publish

version: 2
jobs:
  build:
    docker:
      - image: debian:stretch-slim
    steps:
      - run: apt-get -y update
      - run: apt-get -y install coreutils qemu gawk sed curl wget make git ssh gnupg2
      - run: echo 'deb http://download.virtualbox.org/virtualbox/debian stretch contrib' > /etc/apt/sources.list.d/virtualbox.list
      - run: wget https://www.virtualbox.org/download/oracle_vbox_2016.asc
      - run: apt-key add oracle_vbox_2016.asc
      - run: apt-get -y update
      - run: apt-get -y install virtualbox-6.0
      - checkout
      - run: make debian-stretch
      - run: make ubuntu-bionic
      - run: make centos
  # publish assets to github
  publish:
    docker:
      - image: alpine:latest
    steps:
      - run: apk add git ssh make
      - checkout
      - run: make install-ghr
      - run: make todist
      - run: make publish
workflows:
  version: 2
  build:
    jobs:
      - build
      - publish

Add missing make for alpine.
Add missing make for alpine.
