diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..c57e39e --- /dev/null +++ b/.github/workflows/build.yaml @@ -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 diff --git a/Dockerfile b/Dockerfile index a2b849c..6677d59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \