restore-colemakdh #1
2
.github/workflows/docker-build.yml
vendored
2
.github/workflows/docker-build.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: docker build -t qmk-builder .
|
run: docker build --load -t qmk-builder .
|
||||||
|
|
||||||
- name: Build firmware
|
- name: Build firmware
|
||||||
run: |
|
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:
|
lint-and-compile:
|
||||||
runs-on: local
|
runs-on: local
|
||||||
container:
|
container:
|
||||||
image: registry.home.dgvigil.dev/qmk-builder:latest
|
image: registry.home.dgvigil.dev/qmk-builder:v0.1
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
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
|
### Building the Docker Image
|
||||||
|
|
||||||
```bash
|
```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
|
### Building Firmware
|
||||||
|
|
||||||
#### Using the build script:
|
#### 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
|
# Build the Docker image if it doesn't exist
|
||||||
if [[ "$(docker images -q qmk-builder 2> /dev/null)" == "" ]]; then
|
if [[ "$(docker images -q qmk-builder 2> /dev/null)" == "" ]]; then
|
||||||
echo "Building Docker image..."
|
echo "Building Docker image..."
|
||||||
docker build -t qmk-builder .
|
docker build --load -t qmk-builder .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Function to build a specific keyboard
|
# Function to build a specific keyboard
|
||||||
|
|||||||
Reference in New Issue
Block a user