diff --git a/deployments/buildspec/service.yml b/deployments/buildspec/service.yml index 1d1dad8..be9d2f0 100644 --- a/deployments/buildspec/service.yml +++ b/deployments/buildspec/service.yml @@ -12,7 +12,4 @@ phases: post_build: commands: - docker push $REPO_URI:latest - - docker push $REPO_URI:$TAG - - printf '{"ImageURI":"%s"}' $REPO_URI:latest > imageDetail.json -artifacts: - files: imageDetail.json \ No newline at end of file + - docker push $REPO_URI:$TAG \ No newline at end of file diff --git a/deployments/pipeline-services.yml b/deployments/pipeline-services.yml index da2a844..3827e93 100644 --- a/deployments/pipeline-services.yml +++ b/deployments/pipeline-services.yml @@ -335,9 +335,7 @@ Resources: ParameterOverrides: !Sub | { "EnvironmentName": "${EnvironmentName}", - "ImageUrl": { - "Fn::GetParam" : ["Source", "imageDetail.json", "ImageURI"] - } + "ImageUrl": "${ServerRepository.RepositoryUri}:latest" } InputArtifacts: - Name: Source