name: Build only image
on:
    push:
        branches:
            - master

jobs:
    build:
        runs-on: ubuntu-latest
        name: Build image job
        steps:
            - name: Checkout master
              uses: actions/checkout@master
            - name: Build image
              uses: ilteoood/docker_buildx@master
              with:
                tag: latest,0.3.0
                platform: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/arm/v7
                imageName: ${{ secrets.DOCKER_HUB_USER }}/webssh2