Skip to content

Commit

Permalink
Build docker images for linux/arm64 (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
es1o committed Jan 26, 2024
1 parent 9f18218 commit 22c90d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ on:
jobs:
main:
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 30
strategy:
matrix:
arch: ["linux/arm64", "linux/amd64"]
steps:
- name: Checkout source code
uses: actions/checkout@v2
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
with:
context: .
file: ./docker/Dockerfile
platforms: linux/amd64
platforms: ${{ matrix.arch }}
push: true
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docker_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
main:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
arch: ["linux/arm64", "linux/amd64"]
steps:
- name: Checkout source code
uses: actions/checkout@v2
Expand Down Expand Up @@ -40,7 +43,7 @@ jobs:
with:
context: .
file: ./docker/Dockerfile
platforms: linux/amd64
platforms: ${{ matrix.arch }}
push: true
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
Expand Down

0 comments on commit 22c90d4

Please sign in to comment.