From 852d264f2617f63f9a52df2a8a8b180439981dee Mon Sep 17 00:00:00 2001 From: Leonardo Amaral Date: Fri, 26 Jul 2024 17:39:29 -0300 Subject: [PATCH] arm64 does not exist to MS :( Signed-off-by: Leonardo Amaral --- .gitea/workflows/build-and-push.yaml | 2 +- Containerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 48a875a..dac5f7d 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -45,7 +45,7 @@ jobs: cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max context: . file: ./Containerfile - platforms: linux/amd64, linux/arm64 + platforms: linux/amd64 push: true tags: leonardo/vmcli-powershell-container diff --git a/Containerfile b/Containerfile index ecba6b7..1d7c638 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/powershell:latest +FROM mcr.microsoft.com/powershell:ubi RUN /opt/microsoft/powershell/7/pwsh -Command Set-PSRepository -Name 'PSGallery' -Verbose -InstallationPolicy Trusted \ && /opt/microsoft/powershell/7/pwsh -Command Install-Module VMware.PowerCLI -Verbose -Scope AllUsers -AllowClobber -AcceptLicense -Confirm:\$false