From 79175eb7fbde4d61a09f3fa7d53f50ed0cbac4f6 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Mon, 6 Feb 2023 01:53:49 +0000 Subject: [PATCH] feat: add amd64 variant Add amd64 variant --- .github/workflows/compile-docker.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compile-docker.yml b/.github/workflows/compile-docker.yml index 3003dc4..be7a9c2 100644 --- a/.github/workflows/compile-docker.yml +++ b/.github/workflows/compile-docker.yml @@ -13,6 +13,8 @@ jobs: - board: "raspberrypi3-64" arch: "arm64" version: "v8" + - board: "generic-amd64" + arch: "amd64" runs-on: ubuntu-20.04 permissions: @@ -106,9 +108,9 @@ jobs: - name: Create multi-arch images run: | tags=(${{ steps.meta.outputs.tags }}) - docker buildx imagetools create -t ${tags[0]} -t ${tags[1]} -t ${tags[2]} nebraltd/hm-config:arm64-${{ github.sha }} nebraltd/hm-config:arm-${{ github.sha }} - docker buildx imagetools create -t ${tags[3]} -t ${tags[4]} -t ${tags[5]} ghcr.io/nebraltd/hm-config:arm64-${{ github.sha }} ghcr.io/nebraltd/hm-config:arm-${{ github.sha }} - + docker buildx imagetools create -t ${tags[0]} -t ${tags[1]} -t ${tags[2]} nebraltd/hm-config:arm64-${{ github.sha }} nebraltd/hm-config:arm-${{ github.sha }} nebraltd/hm-config:amd64-${{ github.sha }} + docker buildx imagetools create -t ${tags[3]} -t ${tags[4]} -t ${tags[5]} ghcr.io/nebraltd/hm-config:arm64-${{ github.sha }} ghcr.io/nebraltd/hm-config:arm-${{ github.sha }} ghcr.io/nebraltd/hm-config:amd64-${{ github.sha }} + - name: Update repo description uses: peter-evans/dockerhub-description@v3 with: