From c004f7087a087633fe0cb7b96aa3bc1bb422624f Mon Sep 17 00:00:00 2001 From: SciLor Date: Fri, 29 Sep 2023 12:52:18 +0000 Subject: [PATCH] add other platforms --- .../workflows/publish_docker_splt_build.yml | 53 +++++++++++++++++-- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_docker_splt_build.yml b/.github/workflows/publish_docker_splt_build.yml index 36a02c27..dc9701dc 100644 --- a/.github/workflows/publish_docker_splt_build.yml +++ b/.github/workflows/publish_docker_splt_build.yml @@ -17,15 +17,62 @@ permissions: packages: write jobs: - build-publish-container: + build-publish-container_amd64: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: submodules: recursive - - name: Build and push linux/amd64 + - name: Build and push uses: "./.github/templates/publish_docker" #Just need to pass the path from action - # Defining the variables required in our action with: platform: linux/amd64 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build-publish-container_armv7: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Build and push + uses: "./.github/templates/publish_docker" #Just need to pass the path from action + with: + platform: linux/arm/v7 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build-publish-container_arm64v8: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Build and push + uses: "./.github/templates/publish_docker" #Just need to pass the path from action + with: + platform: linux/arm64/v8 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build-publish-container_ppc64le: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Build and push + uses: "./.github/templates/publish_docker" #Just need to pass the path from action + with: + platform: linux/ppc64le + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build-publish-container_s390x: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Build and push + uses: "./.github/templates/publish_docker" #Just need to pass the path from action + with: + platform: linux/s390x + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}