File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed
Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 2121 push :
2222
2323jobs :
24- build :
24+ lint :
2525 runs-on : ubuntu-latest
2626 steps :
27- - name : Inject slug/short variables
28- uses : rlespinasse/github-slug-action@v5
2927 - name : Checkout
3028 uses : actions/checkout@v4
3129 - name : Lint Dockerfile
4139 pip install --no-cache-dir poetry=='1.8.5'
4240 poetry install --no-root --no-directory --with dev
4341 poetry run pre-commit run --all-files
44- - name : Docker build
45- uses : docker/build-push-action@v6
42+
43+ build :
44+ runs-on : ubuntu-latest
45+ steps :
46+ - name : Inject slug/short variables
47+ uses : rlespinasse/github-slug-action@v5
48+ - name : Checkout
49+ uses : actions/checkout@v4
50+ - name : Set up QEMU
51+ uses : docker/setup-qemu-action@v3
52+ - name : Set up Docker Buildx
53+ uses : docker/setup-buildx-action@v3
54+ - name : Build
55+ uses : docker/build-push-action@v2
4656 with :
4757 context : .
58+ platforms : linux/amd64,linux/arm64
4859 tags : ${{ github.repository_owner }}/squonk2-fastapi-ws-event-stream:${{ env.GITHUB_REF_SLUG }}
Original file line number Diff line number Diff line change 22
33[ ![ build] ( https://github.com/InformaticsMatters/squonk2-fastapi-ws-event-stream/actions/workflows/build.yaml/badge.svg )] ( https://github.com/InformaticsMatters/squonk2-fastapi-ws-event-stream/actions/workflows/build.yaml )
44
5+ ![ Architecture] ( https://img.shields.io/badge/architecture-amd64%20%7C%20arm64-lightgrey )
6+
57[ ![ Conventional Commits] ( https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg )] ( https://conventionalcommits.org )
68[ ![ pre-commit] ( https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white )] ( https://github.com/pre-commit/pre-commit )
79[ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
You can’t perform that action at this time.
0 commit comments