From a3ad593eecad5c7600762e014f397e4bfee599c8 Mon Sep 17 00:00:00 2001 From: YkeLit Date: Thu, 12 Sep 2024 15:07:19 +0800 Subject: [PATCH 1/3] chore(multi-platfrom-buildx): setup multi platform buildx --- multi-platform-buildx/action.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 multi-platform-buildx/action.yml diff --git a/multi-platform-buildx/action.yml b/multi-platform-buildx/action.yml new file mode 100644 index 0000000..a82bb2e --- /dev/null +++ b/multi-platform-buildx/action.yml @@ -0,0 +1,17 @@ +name: Multi Platform Buildx +description: "Setup multi platfrom buildx." + +runs: + using: 'composite' + steps: + - name: Buildx + uses: docker/setup-buildx-action@v3 + with: + driver: kubernetes + platforms: linux/amd64 + driver-opts: namespace=arc-runners,nodeselector=kubernetes.io/arch=amd64 + append: | + - platforms: linux/arm64 + driver-opts: + - namespace=arc-runners + - nodeselector=kubernetes.io/arch=arm64 From d1ad51b9dd874cab5e74e105f5694771a618d93b Mon Sep 17 00:00:00 2001 From: YkeLit Date: Thu, 12 Sep 2024 15:23:58 +0800 Subject: [PATCH 2/3] chore(multi-platfrom-buildx): rename actions directory name --- {multi-platform-buildx => setup-multi-platform-buildx}/action.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {multi-platform-buildx => setup-multi-platform-buildx}/action.yml (100%) diff --git a/multi-platform-buildx/action.yml b/setup-multi-platform-buildx/action.yml similarity index 100% rename from multi-platform-buildx/action.yml rename to setup-multi-platform-buildx/action.yml From 46c1e9606e9bfd308044619a3dd7930b9d6927f8 Mon Sep 17 00:00:00 2001 From: YkeLit Date: Thu, 12 Sep 2024 15:47:58 +0800 Subject: [PATCH 3/3] chore(multi-platfrom-buildx): spell check --- setup-multi-platform-buildx/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-multi-platform-buildx/action.yml b/setup-multi-platform-buildx/action.yml index a82bb2e..1ced566 100644 --- a/setup-multi-platform-buildx/action.yml +++ b/setup-multi-platform-buildx/action.yml @@ -1,5 +1,5 @@ name: Multi Platform Buildx -description: "Setup multi platfrom buildx." +description: "Setup multi platform buildx." runs: using: 'composite'