1
0
mirror of https://github.com/ebosas/microservices.git synced 2025-08-24 20:08:55 +02:00

Test pipeline

This commit is contained in:
ebosas
2021-11-09 18:33:27 +02:00
parent 31b099c756
commit b215799576
2 changed files with 3 additions and 3 deletions

View File

@@ -11,4 +11,5 @@ phases:
- docker tag $REPO_URI:latest $REPO_URI:$TAG
post_build:
commands:
- docker push $REPO_URI:latest
- docker push $REPO_URI:$TAG

View File

@@ -290,6 +290,7 @@ Resources:
Actions:
# Get an image from an ECR repository
- Name: Source
Namespace: SourceVariables
ActionTypeId:
Category: Source
Owner: AWS
@@ -338,9 +339,7 @@ Resources:
ParameterOverrides: !Sub |
{
"EnvironmentName": "${EnvironmentName}",
"ImageUrl": {
"Fn::GetParam" : ["SourceImage", "imageDetail.json", "ImageURI"]
}
"ImageUrl": "${ServerRepository.RepositoryUri}:#{SourceVariables.ImageDigest}"
}
InputArtifacts:
- Name: SourceImage