Skip to content

Commit

Permalink
add docker info
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Sep 10, 2024
1 parent 7c97db8 commit 3b2c0e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cpp-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,25 @@ jobs:
include:
- os: windows-latest
dockerfile: Dockerfile.windows
arch: windows
arch: windows

- os: ubuntu-latest
dockerfile: Dockerfile.arm64
arch: arm64
image: arm64v8/ubuntu

- os: ubuntu-latest
dockerfile: Dockerfile.rpi
arch: armv6l
crosscompiler: https://sourceforge.net/projects/raspberry-pi-cross-compilers/files/Raspberry%20Pi%20GCC%20Cross-Compiler%20Toolchains/Buster/GCC%2010.2.0/Raspberry%20Pi%201%2C%20Zero/cross-gcc-10.2.0-pi_0-1.tar.gz
image: balenalib/raspberry-pi

- os: ubuntu-latest
dockerfile: Dockerfile.rpi
arch: armv7l
crosscompiler: https://sourceforge.net/projects/raspberry-pi-cross-compilers/files/Raspberry%20Pi%20GCC%20Cross-Compiler%20Toolchains/Buster/GCC%2010.2.0/Raspberry%20Pi%202%2C%203/cross-gcc-10.2.0-pi_2-3.tar.gz
image: balenalib/raspberry-pi2

- os: ubuntu-latest
dockerfile: Dockerfile
arch: amd64
Expand All @@ -35,6 +39,7 @@ jobs:

- name: Build an image from Dockerfile
run: |
docker info
docker build -t docker.io/${{ github.repository }}:${{ github.base_ref || github.ref_name }}-${{ matrix.arch }} -f ${{ matrix.dockerfile }} --build-arg CROSSCOMPILER=${{ matrix.crosscompiler }} --build-arg ARCH=${{ matrix.arch }} --build-arg IMAGE=${{ matrix.image }} .
- name: Login to GitHub Container Registry
Expand Down

0 comments on commit 3b2c0e1

Please sign in to comment.