docker push
command.
Before pushing the images, the Amazon ECR repository must exist. For more information, refer to the
AWS official guide for creating
repositories.
aws ecr get-login-password
command and then pass the
authentication token to the docker login
command. If you want to authenticate to multiple registries, you must repeat
the command for each registry.
Example to export environment variables in different Operating Systems
APP_NAME
is my-app
and IMAGE_VERSION
is v1.0.0
, it would print the following:
<AWS_ACCOUNT_ID>.dkr.ecr.<AWS_REGION>.amazonaws.com
. Run the following commands to create two
tags:
latest
tag should always point to the recently pushed
stable image.
.tgz
(tarball) file that contains your Helm chart. This file can then be easily shared, versioned, and
deployed. Here are the steps to package your Helm chart:
<chart_name>-<chart_version>.tgz
, which will be saved
in the .tmp
directory.