Option 1: Adapt to the RHEL Environment (Immediate Fix) If you must use this specific runner, you need to use RHEL commands.
Replace your before_script with this:
YAML
before_script:
- sudo yum install -y make unzip
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- unzip -q awscliv2.zip
- sudo ./aws/install --update Note: This requires your runner user to have sudo permissions. If sudo fails, you will need to ask your administrator to install these tools on the server permanently.