Merge pull request #7608 from fidencio/topic/create-image-to-be-used-by-the-confidential-tests-follow-up-3

ci: unencrypted-image: Fix build context
This commit is contained in:
Fabiano Fidêncio 2023-08-09 21:00:46 +02:00 committed by GitHub
commit 0a8208c670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ jobs:
with:
tags: ghcr.io/kata-containers/test-images:unencrypted-${{ inputs.pr-number }}
push: true
context: .
context: tests/integration/kubernetes/runtimeclass_workloads/confidential/unencrypted/
platforms: linux/amd64, linux/s390x
file: tests/integration/kubernetes/runtimeclass_workloads/confidential/unencrypted/Dockerfile

View File

@ -19,7 +19,7 @@ RUN /bin/sh -c \
curl -LO https://github.com/klauspost/cpuid/releases/download/v2.2.5/cpuid-Linux_x86_64_2.2.5.tar.gz && \
tar -xvzf cpuid-Linux_x86_64_2.2.5.tar.gz -C /usr/bin && \
rm -rf cpuid-Linux_x86_64_2.2.5.tar.gz && \
rm -f /usr/bin/LICENSE'
rm -f /usr/bin/LICENSE' || true
# This is done just to avoid the following error starting sshd
# `sshd: no hostkeys available -- exiting.`