jakejarvis/s3-sync-action

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

Opened this issue ยท 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.

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.

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