Skip to content

Commit f6c22a0

Browse files
authored
feat: enhance CI workflow with Docker Buildx and QEMU setup (#67)
* feat: enhance CI workflow with Docker Buildx and QEMU setup; add yamlfmt to pre-commit hooks; specify platform in docker-compose * chore: update yamlfmt to v0.11.0; remove platform specification from docker-compose
1 parent 1d1dff4 commit f6c22a0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
username: ${{ github.actor }}
3434
password: ${{ secrets.CR_TOKEN }}
3535

36+
- name: Set up QEMU
37+
uses: docker/setup-qemu-action@v3
38+
39+
- name: Set up Docker Buildx
40+
uses: docker/setup-buildx-action@v3
41+
3642
- name: Set up Python
3743
uses: actions/setup-python@v6
3844
with:

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ repos:
3838
hooks:
3939
- id: flake8
4040

41+
- repo: https://github.com/google/yamlfmt
42+
rev: v0.11.0
43+
hooks:
44+
- id: yamlfmt
45+
4146
# sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date
4247
ci:
4348
autoupdate_schedule: weekly

0 commit comments

Comments
 (0)