Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
26a7f54c
Commit
26a7f54c
authored
Jan 15, 2020
by
Etienne Baqué
Committed by
Marcia Ramos
Jan 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added mention to ECR in Cloud deploy doc
parent
1e4100cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
doc/ci/cloud_deployment/index.md
doc/ci/cloud_deployment/index.md
+18
-1
No files found.
doc/ci/cloud_deployment/index.md
View file @
26a7f54c
...
@@ -39,8 +39,25 @@ Some credentials are required to be able to run `aws` commands:
...
@@ -39,8 +39,25 @@ Some credentials are required to be able to run `aws` commands:
```
yml
```
yml
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
image
:
registry.gitlab.com/gitlab-org/cloud-deploy:latest
image
:
registry.gitlab.com/gitlab-org/cloud-deploy:latest
# see the note below
script
:
script
:
-
aws s3 ...
-
aws s3 ...
-
aws create-deployment ...
-
aws create-deployment ...
```
```
NOTE:
**Note:**
Please note that the image used in the example above
(
`registry.gitlab.com/gitlab-org/cloud-deploy:latest`
) is hosted on the
[
GitLab
Container Registry
](
../../user/packages/container_registry/index.md
)
and is
ready to use. Alternatively, replace the image with another one hosted on
[
AWS ECR
](
#aws-ecr
)
.
### AWS ECR
Instead of referencing an image hosted on the GitLab Registry, you are free to
reference any other image hosted on any third-party registry, such as
[
Amazon Elastic Container Registry (ECR)
](
https://aws.amazon.com/ecr
)
.
To do so, please make sure to
[
push your image into your ECR
repository
](
https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-push-ecr-image.html
)
before referencing it in your
`.gitlab-ci.yml`
file and replace the
`image`
path to point to your ECR.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment