Skip to content

Commit 102e1b8

Browse files
add a ci step to build the docker image
1 parent a118485 commit 102e1b8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- '**'
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
13+
steps:
14+
- name: Install Docker Buildx
15+
uses: docker/setup-buildx-action@v2
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.11'
20+
21+
- name: Build Docker image
22+
working-directory: ./app
23+
run: |
24+
docker buildx build \
25+
--platform linux/amd64,linux/arm64 \
26+
.

0 commit comments

Comments
 (0)