From 26940ff164dda4d96cec649867a713e0a5e9193c Mon Sep 17 00:00:00 2001 From: ebosas Date: Tue, 9 Nov 2021 15:50:15 +0200 Subject: [PATCH] Test pipeline --- deployments/buildspec/service.yml | 5 +---- deployments/pipeline-services.yml | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) 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