add buildspec.yml codebuild.yml ecr.yml file

This commit is contained in:
unknown 2023-08-15 21:45:30 -04:00
parent 68a5ad6dbc
commit 585277ef62

View file

@ -8,6 +8,9 @@ phases:
commands:
- AWS_ACC=$(echo $CODEBUILD_BUILD_ARN | cut -d':' -f5)
- REPOSITORY_URI=$AWS_ACC.dkr.ecr.$AWS_REGION.amazonaws.com
- wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add -
- sudo add-apt-repository 'deb https://apt.corretto.aws stable main'
- sudo apt-get update; sudo apt-get install -y java-17-amazon-corretto-jdk
build:
commands:
- echo Build started on `date`