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 - docker tag $REPO_URI:latest $REPO_URI:$TAG
post_build: post_build:
commands: commands:
- docker push $REPO_URI:latest
- docker push $REPO_URI:$TAG - docker push $REPO_URI:$TAG

View File

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