Skip to content

Commit

Permalink
ci: add -arm suffix to arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Jan 8, 2025
1 parent c87394b commit bafb82a
Show file tree
Hide file tree
Showing 2 changed files with 208 additions and 90 deletions.
42 changes: 30 additions & 12 deletions .github/workflows/push-frontends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ jobs:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
platform: [linux/amd64, linux/arm64]
include:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/amd64
tag: latest
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
tag: latest-arm
suffix: -arm
exclude:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
Expand Down Expand Up @@ -54,8 +60,8 @@ jobs:
images: |
trieve/chat
tags: |
type=raw,latest
type=sha
type=raw,${{matrix.tag}}
type=sha,suffix=${{matrix.suffix}}
- name: Build and push Docker image
uses: useblacksmith/[email protected]
Expand All @@ -72,8 +78,14 @@ jobs:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
platform: [linux/amd64, linux/arm64]
include:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/amd64
tag: latest
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
tag: latest-arm
suffix: -arm
exclude:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
Expand Down Expand Up @@ -103,8 +115,8 @@ jobs:
images: |
trieve/search
tags: |
type=raw,latest
type=sha
type=raw,${{matrix.tag}}
type=sha,suffix=${{matrix.suffix}}
- name: Build and push Docker image
uses: useblacksmith/[email protected]
Expand All @@ -121,8 +133,14 @@ jobs:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
platform: [linux/amd64, linux/arm64]
include:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/amd64
tag: latest
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
tag: latest-arm
suffix: -arm
exclude:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
Expand Down Expand Up @@ -152,8 +170,8 @@ jobs:
images: |
trieve/dashboard
tags: |
type=raw,latest
type=sha
type=raw,${{matrix.tag}}
type=sha,suffix=${{matrix.suffix}}
- name: Build and push Docker image
uses: useblacksmith/[email protected]
Expand Down
Loading

0 comments on commit bafb82a

Please sign in to comment.