Skip to content

Commit

Permalink
ci: Fix INSTANCE check
Browse files Browse the repository at this point in the history
the RUNNING_INSTANCE contains the '.', therefore the checks should also
contain the '.' in the ubuntu version.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
  • Loading branch information
ldoktor committed Aug 30, 2024
1 parent 0700e2a commit 306e2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ccruntime_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 306e2ca

Please sign in to comment.