uv-k5-firmware-chinese-lts/.github/workflows/docker-image.yml
2023-12-01 16:46:03 +08:00

26 lines
593 B
YAML

name: Docker Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Docker image
run: docker build -t myapp .
- name: Run compilation inside Docker container
run: docker run myapp sh ../../../compile-with-docker.sh
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: compiled-firmware
path: compiled-files # Replace with the path to your compiled files