diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6821a65 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM amazonlinux + +RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o awscliv2.zip && \ + yum install unzip -y && \ + unzip awscliv2.zip && \ + ./aws/install + +ENTRYPOINT ["aws"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..71b9ce4 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# AWS-CLI-Action diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..e2f1fcf --- /dev/null +++ b/action.yml @@ -0,0 +1,8 @@ +name: 'AWS cli' +description: 'runs the AWS cli' +outputs: + result: + description: 'true/false' +runs: + using: 'docker' + image: 'Dockerfile'