Skip to content

Commit 2f9e8b0

Browse files
authored
Merge pull request #26 from sendible-labs/arm
feat: Also release for ARM
2 parents 535c416 + e2e9e98 commit 2f9e8b0

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@ name: Build and release latest
33
on:
44
push:
55
branches: [ main ]
6-
6+
pull_request:
7+
branches: [ main ]
78

89
jobs:
910
Deploy:
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: Checkout Code
13-
uses: actions/checkout@v3.5.3
14+
uses: actions/checkout@v3
15+
- name: Set up QEMU
16+
uses: docker/setup-qemu-action@v2
17+
- name: Set up Docker Buildx
18+
uses: docker/setup-buildx-action@v2
1419
- name: Login to GitHub Container Registry
1520
uses: docker/login-action@v2
1621
with:
@@ -21,5 +26,6 @@ jobs:
2126
uses: docker/build-push-action@v4
2227
with:
2328
push: true
29+
platforms: linux/amd64,linux/arm64
2430
tags: |
25-
ghcr.io/${{ github.repository }}:latest
31+
ghcr.io/${{ github.repository }}:latest

.github/workflows/release.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout Code
12-
uses: actions/checkout@v3.5.3
12+
uses: actions/checkout@v3
1313
- name: Get git tag
1414
uses: olegtarasov/get-tag@v2.1.2
15+
- name: Set up QEMU
16+
uses: docker/setup-qemu-action@v2
17+
- name: Set up Docker Buildx
18+
uses: docker/setup-buildx-action@v2
1519
- name: Login to GitHub Container Registry
1620
uses: docker/login-action@v2
1721
with:
@@ -22,6 +26,7 @@ jobs:
2226
uses: docker/build-push-action@v4
2327
with:
2428
push: true
29+
platforms: linux/amd64,linux/arm64
2530
tags: |
2631
ghcr.io/${{ github.repository }}:${{ env.GIT_TAG_NAME }}
2732
ghcr.io/${{ github.repository }}:stable

0 commit comments

Comments
 (0)