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 authored and skeptrunedev committed Jan 8, 2025
1 parent c87394b commit 948439b
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 45 deletions.
36 changes: 30 additions & 6 deletions .github/workflows/push-frontends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
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: blacksmith-2vcpu-ubuntu-2204-arm
tag: latest-arm
suffix: -arm
exclude:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
Expand Down Expand Up @@ -54,8 +62,8 @@ jobs:
images: |
trieve/chat
tags: |
type=raw,latest
type=sha
type=raw,tag=${{matrix.tag}}
type=sha,suffix=${{matrix.suffix}}
- name: Build and push Docker image
uses: useblacksmith/[email protected]
Expand All @@ -74,6 +82,14 @@ jobs:
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: blacksmith-2vcpu-ubuntu-2204-arm
tag: latest-arm
suffix: -arm
exclude:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
Expand Down Expand Up @@ -103,8 +119,8 @@ jobs:
images: |
trieve/search
tags: |
type=raw,latest
type=sha
type=raw,tag=${{matrix.tag}}
type=sha,suffix=${{matrix.suffix}}
- name: Build and push Docker image
uses: useblacksmith/[email protected]
Expand All @@ -123,6 +139,14 @@ jobs:
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: blacksmith-2vcpu-ubuntu-2204-arm
tag: latest-arm
suffix: -arm
exclude:
- runner: blacksmith-2vcpu-ubuntu-2204
platform: linux/arm64
Expand Down Expand Up @@ -152,8 +176,8 @@ jobs:
images: |
trieve/dashboard
tags: |
type=raw,latest
type=sha
type=raw,tag=${{matrix.tag}}
type=sha,suffix=${{matrix.suffix}}
- name: Build and push Docker image
uses: useblacksmith/[email protected]
Expand Down
Loading

0 comments on commit 948439b

Please sign in to comment.