Skip to content

Commit

Permalink
[Docker] Explain how to update tagging lambda (ray-project#24862)
Browse files Browse the repository at this point in the history
Explains how to replace the existing lambda when the code changes.
  • Loading branch information
ijrsvt authored May 16, 2022
1 parent 2766284 commit 46a9574
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docker/retag-lambda/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
Get Docker Retag via wget:
# Updating this Lambda Function

1. Get Docker Retag via wget:
```
pushd docker/retag-lambda
wget -q https://github.com/joshdk/docker-retag/releases/download/0.0.2/docker-retag
popd
```
Package this full library and upload as an AWS Lambda :)

2. Package this folder:
```
pushd docker/retag-lambda
zip retag-lambda.zip *
```

3. Head to the AWS Management console & select the `DockerTagLatest` function. Select `Upload from`, then `.zip file` and then select the zip file created in Step 2.

0 comments on commit 46a9574

Please sign in to comment.