Skip to content

Commit

Permalink
workflow: build images in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Feb 6, 2024
1 parent 67a480c commit 5affd4a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
branches:
- master

jobs:
docker-build:
runs-on: ubuntu-latest
strategy:
matrix:
variant: [bookworm, bullseye]
env:
VERSION: ${{ matrix.variant }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build targets
run: make all
- name: Push targets
run: make tag
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
gawk swig libusb-1.0-0-dev \
pkg-config autoconf golang-go \
python3-distutils python3-dev python3-pip python3-pyelftools \
eatmydata debhelper && \
eatmydata debhelper libelf-dev && \
( \
( \
. /etc/os-release && \
Expand Down

0 comments on commit 5affd4a

Please sign in to comment.