Fixing git workflow build
Some checks failed
Compile my Keebs / lint-and-compile (push) Failing after 1s
Build QMK Firmware with Docker / build (draculad, draculad) (push) Has been cancelled
Build QMK Firmware with Docker / build (iris, keebio/iris/rev8) (push) Has been cancelled
Build QMK Firmware with Docker / build (scottogame, handwired/scottokeebs/scottogame) (push) Has been cancelled
Build QMK Firmware with Docker / build (sweep, ferris/sweep) (push) Has been cancelled
Build QMK Firmware with Docker / build (swoop, bluebell/swoop) (push) Has been cancelled
Build QMK Firmware with Docker / release (push) Has been cancelled
Some checks failed
Compile my Keebs / lint-and-compile (push) Failing after 1s
Build QMK Firmware with Docker / build (draculad, draculad) (push) Has been cancelled
Build QMK Firmware with Docker / build (iris, keebio/iris/rev8) (push) Has been cancelled
Build QMK Firmware with Docker / build (scottogame, handwired/scottokeebs/scottogame) (push) Has been cancelled
Build QMK Firmware with Docker / build (sweep, ferris/sweep) (push) Has been cancelled
Build QMK Firmware with Docker / build (swoop, bluebell/swoop) (push) Has been cancelled
Build QMK Firmware with Docker / release (push) Has been cancelled
This commit is contained in:
2
.github/workflows/docker-build.yml
vendored
2
.github/workflows/docker-build.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
||||
submodules: recursive
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build -t qmk-builder .
|
||||
run: docker build --load -t qmk-builder .
|
||||
|
||||
- name: Build firmware
|
||||
run: |
|
||||
|
||||
2
.github/workflows/lint_and_compile.yml
vendored
2
.github/workflows/lint_and_compile.yml
vendored
@@ -4,7 +4,7 @@ jobs:
|
||||
lint-and-compile:
|
||||
runs-on: local
|
||||
container:
|
||||
image: registry.home.dgvigil.dev/qmk-builder:latest
|
||||
image: registry.home.dgvigil.dev/qmk-builder:v0.1
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -22,9 +22,11 @@ This repository includes a custom Docker setup for building QMK firmware in CI/C
|
||||
### Building the Docker Image
|
||||
|
||||
```bash
|
||||
docker build -t qmk-builder .
|
||||
docker build --load -t qmk-builder .
|
||||
```
|
||||
|
||||
**Note:** The `--load` flag is required to make the image available locally with newer Docker versions.
|
||||
|
||||
### Building Firmware
|
||||
|
||||
#### Using the build script:
|
||||
|
||||
2
build.sh
2
build.sh
@@ -12,7 +12,7 @@ echo "Building QMK firmware for user: $USER"
|
||||
# Build the Docker image if it doesn't exist
|
||||
if [[ "$(docker images -q qmk-builder 2> /dev/null)" == "" ]]; then
|
||||
echo "Building Docker image..."
|
||||
docker build -t qmk-builder .
|
||||
docker build --load -t qmk-builder .
|
||||
fi
|
||||
|
||||
# Function to build a specific keyboard
|
||||
|
||||
Reference in New Issue
Block a user