build: Push to correct registry & Housekeeping
Some checks failed
build-image / Semantic Release (Dry-run) (push) Successful in 54s
build-image / Container image (push) Failing after 11s
build-image / Semantic Release (push) Has been skipped

This commit is contained in:
2024-06-05 22:08:42 +10:00
parent 752f46a358
commit 8af7c465bb
4 changed files with 38 additions and 155 deletions

View File

@ -10,9 +10,6 @@ ARG REPO_USERNAME
ARG REPO_PASSWORD
ADD https://${REPO_USERNAME}:${REPO_PASSWORD}@sn.itch.fyi/Repository/bin/VMware/ovftool/4.4.x/${OVFTOOL_INSTALLER} /tmp/ovftool-installer
RUN apk --update add --no-cache \
openssl && \
openssl s_client -connect api.github.com:443 -msg -tls1_2
RUN apk --update add --no-cache \
curl \
jq && \
@ -73,8 +70,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pyvmomi \
requests && \
update-ca-certificates --fresh && \
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted' -Verbose" && \
pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI' -Verbose" && \
pwsh -Command "Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted'" && \
pwsh -Command "Install-Module -Name 'powershell-yaml','VMware.PowerCLI'" && \
pwsh -Command "Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP \$False -Confirm:\$False" && \
sh /tmp/ovftool-installer --console --eulas-agreed --required && \
apt-get remove -y \