Skip to content

Commit

Permalink
Only run build in linux
Browse files Browse the repository at this point in the history
Signed-off-by: Daishan Peng <[email protected]>
  • Loading branch information
StrongMonkey committed Aug 1, 2024
1 parent edcc9b7 commit 2c0323d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ jobs:
runs-on: ${{ matrix.runs-on }} # Add this line
strategy:
matrix:
platform: [linux/amd64, linux/arm64, darwin/amd64, darwin/arm64]
platform: [linux/amd64, linux/arm64]
include:
- platform: linux/amd64
runs-on: ubuntu-latest
- platform: linux/arm64
runs-on: ubuntu-latest
- platform: darwin/amd64
runs-on: macos-latest
- platform: darwin/arm64
runs-on: macos-latest

steps:
- name: Checkout code
Expand Down Expand Up @@ -59,4 +55,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository }}/ui:${{ github.ref_name }}
ghcr.io/${{ github.repository }}/ui:latest
ghcr.io/${{ github.repository }}/ui:latest

0 comments on commit 2c0323d

Please sign in to comment.