forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docker] Explain how to update tagging lambda (ray-project#24862)
Explains how to replace the existing lambda when the code changes.
- Loading branch information
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|