Skip to content

Commit

Permalink
Fixed docker image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Gayan committed Nov 11, 2021
1 parent 5ab7296 commit 6caf219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6caf219

Please sign in to comment.