Skip to content

Allow for Spot Instance

Latest
Compare
Choose a tag to compare
@Preen Preen released this 22 Jan 09:01
· 1 commit to main since this release
28fbe1c

Add market-type to you config.

      - name: Start EC2 runner
        id: start-ec2-runner
        uses: machulav/ec2-github-runner@v2
        with:
          mode: start
          github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
          ec2-image-id: ${{ env.ARM_EC2_IMAGE_ID }}
          ec2-instance-type: c7g.4xlarge
          subnet-id: ...
          security-group-id: ...
          market-type: spot