File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,16 +9,15 @@ phases:
99 - aws ecr get-login-password --region ${AWS_DEFAULT_REGION} | docker login --username AWS --password-stdin ${FIPS_REPOSITORY_URI}
1010 build :
1111 commands :
12- - >
1312 - echo Building the Docker image...
1413 - echo $COMMIT_HASH_SHORT
1514 - echo $BRANCH_NAME
15+ - >
1616 docker build
1717 --build-arg ECR_ACCOUNT_ID=${ECR_ACCOUNT_ID}
1818 --tag ${FIPS_REPOSITORY_URI}:${COMMIT_HASH_SHORT}
1919 --tag ${FIPS_REPOSITORY_URI}:${BRANCH_NAME}
2020 .
21-
2221 - docker image push --all-tags ${FIPS_REPOSITORY_URI}
2322 post_build :
2423 commands :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ phases:
1717 docker build
1818 --build-arg ECR_ACCOUNT_ID=${ECR_ACCOUNT_ID}
1919 --tag ${FIPS_REPOSITORY_URI}:${PATCH_TAG}
20- --tag ${FIPS_REPOSITORY_URI}:${MINOR_TAG
20+ --tag ${FIPS_REPOSITORY_URI}:${MINOR_TAG}
2121 --tag ${FIPS_REPOSITORY_URI}:${MAJOR_TAG}
2222 .
2323
You can’t perform that action at this time.
0 commit comments