From 3e4c255c5bbf70923e9b2fd831eef22d2b037dc1 Mon Sep 17 00:00:00 2001 From: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> Date: Tue, 6 Feb 2024 19:49:57 +0000 Subject: [PATCH] Specify catthehacker/ubuntu:act-22.04 as container for act Fixes an issue where act wouldn't use the correct container and so couldn't find a compatible python version, so it would fail to build. --- act/run-act.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/act/run-act.sh b/act/run-act.sh index 8060d8622..c81842110 100755 --- a/act/run-act.sh +++ b/act/run-act.sh @@ -26,10 +26,10 @@ cd .. if [[ "$type" == "release" ]]; then printf "release!\n" - act workflow_dispatch -e act/release.json --artifact-server-path act/artifacts --container-architecture linux/amd64 + act workflow_dispatch -e act/release.json --artifact-server-path act/artifacts --container-architecture linux/amd64 --platform ubuntu-22.04=catthehacker/ubuntu:act-22.04 elif [[ "$type" == "prerelease" ]]; then printf "prerelease!\n" - act workflow_dispatch -e act/prerelease.json --artifact-server-path act/artifacts --container-architecture linux/amd64 + act workflow_dispatch -e act/prerelease.json --artifact-server-path act/artifacts --container-architecture linux/amd64 --platform ubuntu-22.04=catthehacker/ubuntu:act-22.04 else printf "Release type unspecified/badly specified.\n" printf "Options: 'release' or 'prerelease'\n"