Skip to content

Commit

Permalink
Specify catthehacker/ubuntu:act-22.04 as container for act
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
PartyWumpus authored Feb 6, 2024
1 parent 62e3128 commit 3e4c255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions act/run-act.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3e4c255

Please sign in to comment.