Skip to content

Commit 7abb0a9

Browse files
committed
README updated
1 parent 4a459fa commit 7abb0a9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ docker: Error response from daemon: Container command
4242

4343
Execute from the working directory:
4444

45+
* For upload
4546
```
4647
docker run --rm \
4748
-e PLUGIN_SOURCE=<source> \
@@ -53,3 +54,17 @@ docker run --rm \
5354
-w $(pwd) \
5455
plugins/s3 --dry-run
5556
```
57+
58+
* For download
59+
```
60+
docker run --rm \
61+
-e PLUGIN_SOURCE=<source directory to be downloaded from bucket> \
62+
-e PLUGIN_BUCKET=<bucket> \
63+
-e AWS_ACCESS_KEY_ID=<token> \
64+
-e AWS_SECRET_ACCESS_KEY=<secret> \
65+
-e PLUGIN_REGION=<region where the bucket is deployed> \
66+
-e PLUGIN_DOWNLOAD="true" \
67+
-v $(pwd):$(pwd) \
68+
-w $(pwd) \
69+
plugins/s3 --dry-run
70+
```

0 commit comments

Comments
 (0)