Skip to content

Commit

Permalink
add other platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Sep 29, 2023
1 parent 0e44268 commit c004f70
Showing 1 changed file with 50 additions and 3 deletions.
53 changes: 50 additions & 3 deletions .github/workflows/publish_docker_splt_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit c004f70

Please sign in to comment.