From 4ea30f4013772b4a41ac75c9950c8762526f3d16 Mon Sep 17 00:00:00 2001 From: Brad Holland Date: Sat, 6 Jan 2024 15:09:15 -0500 Subject: [PATCH 1/2] fix gh-57 multiarch build --- .../workflows/build_and_publish_docker_image.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_publish_docker_image.yml b/.github/workflows/build_and_publish_docker_image.yml index c80b84e..3079e4c 100644 --- a/.github/workflows/build_and_publish_docker_image.yml +++ b/.github/workflows/build_and_publish_docker_image.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Remove "_Docker" suffix from GitHub repository name to use it as image name uses: mad9000/actions-find-and-replace-string@3 @@ -24,7 +24,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ${{ steps.docker_image_name.outputs.value }} @@ -32,25 +32,29 @@ jobs: tags: type=raw,value=latest - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and publish Docker image uses: docker/build-push-action@v4 with: context: . + platforms: linux/amd64,linux/arm64 file: ./Dockerfile push: true tags: ${{ steps.meta.outputs.tags }} From 9f63561925cf53c6e2dc2363dd80f8d0b180293d Mon Sep 17 00:00:00 2001 From: Tigerblue77 <37409593+tigerblue77@users.noreply.github.com> Date: Sat, 20 Jan 2024 21:55:35 +0000 Subject: [PATCH 2/2] Improved README.md accordingly --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index aadeb7e..044465f 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Download Docker image from : Table of Contents
  1. Container console log example
  2. +
  3. Supported architectures
  4. Usage
  5. Parameters
  6. Troubleshooting
  7. @@ -57,6 +58,15 @@ ipmitool -I lanplus \

    (back to top)

    + +## Supported architectures + +This Docker container is currently built and available for the following CPU architectures : +- AMD64 +- ARM64 + +

    (back to top)

    + ## Usage