s3-sync-action icon indicating copy to clipboard operation
s3-sync-action copied to clipboard

Speed up build time by using amazon/aws-cli container?

Open Seldaek opened this issue 4 years ago • 2 comments

Would it be possible to use the https://hub.docker.com/r/amazon/aws-cli container as base instead of building your own in the Dockerfile? I assume it'd speed things up quite a bit, because I currently see ~30s build times for using this action which is quite a big slowdown.

Seldaek avatar Jun 09 '20 13:06 Seldaek

Hey, I was setting this up today and ended up using https://github.com/aws-actions/configure-aws-credentials and just aws-cli to run actions manually. I configured my job to run on ubuntu-18.04 and it has aws-cli preinstalled so I ended up skipping using this action all together.

nezygis avatar Aug 05 '20 18:08 nezygis

Great tip, thanks, that shaved off 25s off our build time.

Seldaek avatar Aug 06 '20 08:08 Seldaek