develop-maize

name: develop-maize

on:
  push:
    branches:
      - 'develop'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "MAIZE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:develop


develop-mint

name: develop-mint

on:
  push:
    branches:
      - 'develop'
jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "MINT_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:develop


develop-mmx

name: develop-mmx

on:
  push:
    branches:
      - 'develop'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=develop"
            "MMX_BRANCH=master"
            "CHIA_BRANCH=latest"
            "PLOTMAN_BRANCH=development"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:develop


develop-moon

name: develop-moon

on:
  push:
    branches:
      - 'develop'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "MOON_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:develop


develop-nchain

name: develop-nchain

on:
  push:
    branches:
      - 'develop'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "NCHAIN_BRANCH=net9.dev"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:develop


develop-one

name: develop-one

on:
  push:
    branches:
      - 'develop'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "ONE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:develop


develop-petroleum

name: develop-petroleum

on:
  push:
    branches:
      - 'develop'
jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "PETROLEUM_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:develop


develop-profit

name: develop-profit

on:
  push:
    branches:
      - 'develop'
jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "PROFIT_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:develop


develop-shibgreen

name: develop-shibgreen

on:
  push:
    branches:
      - 'develop'
jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "SHIBGREEN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:develop


develop-silicoin

name: develop-silicoin

on:
  push:
    branches:
      - 'develop'
jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "SILICOIN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:develop


develop-staicoin

name: develop-staicoin

on:
  push:
    branches:
      - 'develop'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "STAICOIN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:develop


develop-stor

name: develop-stor

on:
  push:
    branches:
      - 'develop'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "STOR_BRANCH=master"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:develop


develop-tad

name: develop-tad

on:
  push:
    branches:
      - 'develop'
jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "TAD_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:develop


develop-wheat

name: develop-wheat

on:
  push:
    branches:
      - 'develop'
jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=develop"
            "CHIADOG_BRANCH=dev"
            "FDCLI_BRANCH=dev"
            "WHEAT_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:develop
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:develop


release-achi

name: release-achi

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "ACHI_BRANCH=master"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:v${{ github.event.inputs.version }}


release-apple

name: release-apple

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "APPLE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:v${{ github.event.inputs.version }}


release-ballcoin

name: release-ballcoin

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v3
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "BALLCOIN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:v${{ github.event.inputs.version }}


release-base

name: release-base

on: workflow_dispatch

jobs:
  docker-jammy:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile-jammy.base
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:latest

  docker-focal:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile-focal.base
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:latest


release-btcgreen

name: release-btcgreen

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "BTCGREEN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:v${{ github.event.inputs.version }}


release-cactus

name: release-cactus

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "CACTUS_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:v${{ github.event.inputs.version }}


release-chia

name: release-chia

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  chia:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "CHIA_BRANCH=2.1.3"
            "BLADEBIT_BRANCH=master"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:v${{ github.event.inputs.version }}

  gigahorse:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "GIGAHORSE_BRANCH=v2.3.0.giga36"
            "CHIA_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:v${{ github.event.inputs.version }}


release-chinilla

name: release-chinilla

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "CHINILLA_BRANCH=release/1.4.0"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:v${{ github.event.inputs.version }}


release-chives

name: release-chives

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  chives:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "CHIVES_REPO=https://github.com/HiveProject2021/chives-blockchain.git"
            "CHIVES_BRANCH=1.5.4"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:v${{ github.event.inputs.version }}

  chivesfoxy:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v3
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "CHIVES_REPO=https://github.com/foxypool/chives-blockchain.git"
            "CHIVES_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:v${{ github.event.inputs.version }}


release-coffee

name: release-coffee

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "COFFEE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:v${{ github.event.inputs.version }}


release-cryptodoge

name: release-cryptodoge

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "CRYPTODOGE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:v${{ github.event.inputs.version }}


release-ecostake

name: release-ecostake

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "ECOSTAKE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:v${{ github.event.inputs.version }}


release-flax

name: release-flax

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "FLAX_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:v${{ github.event.inputs.version }}


release-flora

name: release-flora

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "FLORA_BRANCH=latest"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:v${{ github.event.inputs.version }}


release-gold

name: release-gold

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "GOLD_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:v${{ github.event.inputs.version }}


release-greenbtc

name: release-greenbtc

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "GREENBTC_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-greenbtc:v${{ github.event.inputs.version }}


release-hddcoin

name: release-hddcoin

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "HDDCOIN_BRANCH=beta"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:v${{ github.event.inputs.version }}


release-littlelambocoin

name: release-littlelambocoin

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "LITTLELAMBOCOIN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-littlelambocoin:v${{ github.event.inputs.version }}


release-maize

name: release-maize

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "MAIZE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-maize:v${{ github.event.inputs.version }}


release-mint

name: release-mint

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "MINT_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mint:v${{ github.event.inputs.version }}


release-mmx

name: release-mmx

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "CHIA_BRANCH=latest"
            "MMX_BRANCH=v0.10.6"
            "GIGAHORSE_BRANCH=v2.3.0.giga36"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-mmx:v${{ github.event.inputs.version }}


release-moon

name: release-moon

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "MOON_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-moon:v${{ github.event.inputs.version }}


release-nchain

name: release-nchain

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "NCHAIN_BRANCH=net9.dev"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:v${{ github.event.inputs.version }}


release-one

name: release-one

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "ONE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-one:v${{ github.event.inputs.version }}


release-petroleum

name: release-petroleum

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "PETROLEUM_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-petroleum:v${{ github.event.inputs.version }}


release-profit

name: release-profit

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "PROFIT_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-profit:v${{ github.event.inputs.version }}


release-shibgreen

name: release-shibgreen

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "SHIBGREEN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-shibgreen:v${{ github.event.inputs.version }}


release-silicoin

name: release-silicoin

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "SILICOIN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-silicoin:v${{ github.event.inputs.version }}


release-staicoin

name: release-staicoin

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "STAICOIN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-staicoin:v${{ github.event.inputs.version }}


release-stor

name: release-stor

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=latest"
            "STOR_BRANCH=master"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-stor:v${{ github.event.inputs.version }}


release-tad

name: release-tad

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "TAD_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-tad:v${{ github.event.inputs.version }}


release-wheat

name: release-wheat

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Release Version'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=latest"
            "WHEAT_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:latest
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:v${{ github.event.inputs.version }}
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:latest
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-wheat:v${{ github.event.inputs.version }}


test-achi

name: test-achi

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "ACHI_BRANCH=master"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-achi:test


test-apple

name: test-apple

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "APPLE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-apple:test


test-ballcoin

name: test-ballcoin

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v3
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "BALLCOIN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ballcoin:test


test-base

name: test-base

on: workflow_dispatch

jobs:
  docker-jammy:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile-jammy.base
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-jammy:test

  docker-focal:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile-focal.base
          context: .
          platforms: linux/amd64,linux/arm64
          push: true
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-base-focal:test


test-btcgreen

name: test-btcgreen

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "BTCGREEN_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-btcgreen:test


test-cactus

name: test-cactus

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "CACTUS_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:test


test-chia

name: test-chia

on:
  push:
    branches:
      - 'integration'

jobs:
  chia:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "CHIA_BRANCH=2.1.3"
            "PLOTMAN_BRANCH=development"
            "BLADEBIT_BRANCH=master"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test

  gigahorse:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "GIGAHORSE_BRANCH=v2.3.0.giga36"
            "CHIA_BRANCH=main"
            "PLOTMAN_BRANCH=development"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gigahorse:test


test-chinilla

name: test-chinilla

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "CHINILLA_BRANCH=release/1.4.0"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chinilla:test


test-chives

name: test-chives

on:
  push:
    branches:
      - 'integration'

jobs:
  chives:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "CHIVES_REPO=https://github.com/HiveProject2021/chives-blockchain.git"
            "CHIVES_BRANCH=1.5.4"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:test

  chivesfoxy:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v3
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "CHIVES_REPO=https://github.com/foxypool/chives-blockchain.git"
            "CHIVES_BRANCH=main"
            "PLOTMAN_BRANCH=development"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chivesfoxy:test


test-coffee

name: test-coffee

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "COFFEE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-coffee:test


test-cryptodoge

name: test-cryptodoge

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "CRYPTODOGE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cryptodoge:test


test-ecostake

name: test-ecostake

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "ECOSTAKE_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-ecostake:test


test-flax

name: test-flax

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-22.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "FLAX_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:test


test-flora

name: test-flora

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=jammy"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "FLORA_BRANCH=latest"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flora:test


test-gold

name: test-gold

on:
  push:
    branches:
      - 'integration'

jobs:
  docker:
    runs-on: ubuntu-20.04
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: Login to GitHub Container Registry
        uses: docker/login-action@v2
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GITHUB_TOKEN }}
      -
        name: Build and push
        uses: docker/build-push-action@v4
        with:
          file: docker/dockerfile
          context: .
          platforms: linux/amd64,linux/arm64
          provenance: false
          push: true
          build-args: |
            "UBUNTU_VER=focal"
            "MACHINARIS_STREAM=test"
            "CHIADOG_BRANCH=dev"
            "GOLD_BRANCH=main"
          tags: |
            ${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:test
            ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-gold:test