From 6caf21930549b58ed24256269a45c8a0274366ca Mon Sep 17 00:00:00 2001 From: Gayan Date: Thu, 11 Nov 2021 15:48:13 +1300 Subject: [PATCH] Fixed docker image tags --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 1b676c4..cb11fef 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -30,7 +30,7 @@ phases: commands: - cargo test --package pallet-dids --lib tests - COMMIT_HASH=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7) - - IMAGE_TAG=${COMMIT_HASH:=latest} + - IMAGE_TAG=latest - echo "Build docker image" - docker build -t ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/${IMAGE_NAME}:${IMAGE_TAG} . build: