Skip to content

Commit

Permalink
Fix build platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziedelth committed Dec 21, 2023
1 parent 25b44c2 commit 71a3053
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/global_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
docker:
strategy:
matrix:
platform: [linux/amd64, linux/arm64/v8]
platform: [linux/amd64, linux/arm64, linux/arm64/v8]

runs-on: ubuntu-latest

Expand All @@ -61,12 +61,11 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: ${{ matrix.platform }}

- name: Build docker file
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: registry.ziedelth.fr:5000/shikkanime-core:dev
tags: registry.ziedelth.fr:5000/shikkanime-core:dev
platforms: ${{ matrix.platform }}
5 changes: 2 additions & 3 deletions .github/workflows/release_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/arm64/v8

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand All @@ -32,4 +30,5 @@ jobs:
with:
context: .
push: true
tags: registry.ziedelth.fr:5000/shikkanime-core:latest
tags: registry.ziedelth.fr:5000/shikkanime-core:latest
platforms: linux/arm64/v8

0 comments on commit 71a3053

Please sign in to comment.