mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #642] Enhancement: aws CLI #418
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#418
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Steph0 on GitHub (Apr 28, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/642
Describe feature
Hey there. First thanks for all the great work you do.
I stumbled upong something while using act. I am using the docker image
nektos/act-environments-ubuntu:18.04which really helps testing my workflows.But the AWS CLI included in this env is
aws-cli/1.18.2 Python/2.7.17 Linux/5.8.0-50-generic botocore/1.15.2while the one used by github has one major more:AWS CLI version aws-cli/2.1.38 Python/3.8.8 Linux/5.4.0-1046-azure exe/x86_64.ubuntu.20 prompt/off.This prevent testing AWS execution like
In ACT the
--cli-binary-format raw-in-base64-outis rejected, while if you don't put this argument, your Github Actions fails because in AWS CLI 2+ it is necessary (defaults to base64).Thought it would be nice to raise an enhancement request here about it.
@catthehacker commented on GitHub (Apr 28, 2021):
That's because the image is outdated (last push was February 2020). Issue should be raised in https://github.com/nektos/act-environments.
@Steph0 commented on GitHub (Apr 28, 2021):
Will do that thanks
@catthehacker commented on GitHub (Apr 28, 2021):
@Steph0 Alternatively you can try using
catthehacker/ubuntu:full-20.04image which is from 4-5 months ago@catthehacker commented on GitHub (Apr 28, 2021):
Related: #630
@Steph0 commented on GitHub (Apr 28, 2021):
Thanks a lot @catthehacker I'm gonna test that!
@robotrapta commented on GitHub (Apr 28, 2022):
Thanks @catthehacker for the fix. But I gotta say at 61 GB that is legitimately the largest docker image I've ever seen! By the number of layers it looks like maybe it's been iteratively maintained?
Anything smaller you'd recommend?
@catthehacker commented on GitHub (Apr 30, 2022):
I've made (in my opinion) easy to modify image templates (https://github.com/catthehacker/docker-images) that you could extend. It's mostly made for GitHub Actions, but you can build them locally with script in repo
@helloint commented on GitHub (Apr 10, 2024):
For those come here because of using the default act medium image
catthehacker/ubuntuthat doesn't contains aws cli, here is my solution:DockerfileThe image size is around 1.43GB.
You can also base on latest
ubuntu:latestThe size is around 1.79GB
My use case is simple, just need to upload files to AWS S3, so the above works for me.
Thanks.