Skip to content

Commit

Permalink
Merge pull request #1 from onecx/feat/multi
Browse files Browse the repository at this point in the history
feat: add multi-platform build
  • Loading branch information
andrejpetras authored Feb 2, 2024
2 parents 403a7a4 + f2f87ed commit 556998c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
uses: onecx/ci-common/.github/workflows/docker-build.yml@v1
secrets: inherit
with:
platform: 'linux/amd64,linux/arm64'
buildx: true
push: false
artifact: ''
samoDockerFile: Dockerfile
2 changes: 2 additions & 0 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
uses: onecx/ci-common/.github/workflows/docker-build.yml@v1
secrets: inherit
with:
platform: 'linux/amd64,linux/arm64'
buildx: true
push: false
artifact: ''
samoDockerFile: Dockerfile
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
uses: onecx/ci-common/.github/workflows/docker-build.yml@v1
secrets: inherit
with:
platform: 'linux/amd64,linux/arm64'
buildx: true
push: true
tags: '{{ .Version }},{{ .Branch }}'
artifact: ''
Expand Down

0 comments on commit 556998c

Please sign in to comment.