From 306e2ca1958835d8b4af278b1f619a61c2cf1f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Fri, 30 Aug 2024 11:19:05 +0200 Subject: [PATCH] ci: Fix INSTANCE check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the RUNNING_INSTANCE contains the '.', therefore the checks should also contain the '.' in the ubuntu version. Signed-off-by: Lukáš Doktor --- .github/workflows/ccruntime_e2e.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccruntime_e2e.yaml b/.github/workflows/ccruntime_e2e.yaml index 4e1ff814..d56b616d 100644 --- a/.github/workflows/ccruntime_e2e.yaml +++ b/.github/workflows/ccruntime_e2e.yaml @@ -70,7 +70,7 @@ jobs: args="-u" if [ $RUNNING_INSTANCE = "s390x-large" ]; then args="" - elif [ "$RUNNING_INSTANCE" == "ubuntu-2004" ] || [ "$RUNNING_INSTANCE" == "ubuntu-2204" ]; then + elif [ "$RUNNING_INSTANCE" == "ubuntu-20.04" ] || [ "$RUNNING_INSTANCE" == "ubuntu-22.04" ]; then # Remove the pre-installed docker/containerd sudo apt-get remove docker* containerd* -y # Use /mnt to store images