version: 2
jobs:
  build:
    docker:
    - image: summerwind/toolbox:latest
    steps:
    - checkout
    - setup_remote_docker:
        version: 18.09.3
    - run:
        name: Build container
        command: make build-container
  release:
    docker:
    - image: summerwind/toolbox:latest
    steps:
    - checkout
    - run:
        name: Upload release files to GitHub
        command: make github-release

workflows:
  version: 2
  main:
    jobs:
    - build
  release:
    jobs:
    - release:
        context: global
        filters:
          branches:
            ignore: /.*/
          tags:
            only: /.*/

version: 2
jobs:
  build:
    docker:
    - image: summerwind/toolbox:latest
    steps:
    - checkout
    - setup_remote_docker:
        version: 19.03.12
    - run:
        name: Build container
        command: make build-container
  release:
    docker:
    - image: summerwind/toolbox:latest
    steps:
    - checkout
    - run:
        name: Upload release files to GitHub
        command: make github-release

workflows:
  version: 2
  main:
    jobs:
    - build
  release:
    jobs:
    - release:
        context: global
        filters:
          branches:
            ignore: /.*/
          tags:
            only: /.*/

Update docker on Circle CI
Update docker on Circle CI
