Skip to content

Commit c3bd2b2

Browse files
committed
ci: add ARM64 support to GitHub Actions
1 parent da9a1c9 commit c3bd2b2

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/docker.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ permissions:
1212
jobs:
1313
build:
1414
name: Build Image
15-
runs-on: ubuntu-latest
15+
runs-on: ${{ matrix.os }}
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
platform: [linux/amd64]
19+
include:
20+
- platform: linux/amd64
21+
os: ubuntu-latest
22+
- platform: linux/arm64
23+
os: ubuntu-22.04-arm
2024
steps:
2125
- name: Set environment variable
2226
run: echo "IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/stackclass-server" >> $GITHUB_ENV

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "backend"
33
description = "Backend API and services for StackClass"
4-
version = "0.27.0"
4+
version = "0.28.0"
55
edition = "2024"
66

77
default-run = "stackclass-server"

openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": {
77
"name": ""
88
},
9-
"version": "0.27.0"
9+
"version": "0.28.0"
1010
},
1111
"paths": {
1212
"/v1/courses": {

0 commit comments

Comments
 (0)