mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
add buildspec.yml file
This commit is contained in:
parent
337c44dee2
commit
c005029bc5
1 changed files with 1 additions and 4 deletions
|
@ -3,16 +3,13 @@ version: 0.2
|
|||
phases:
|
||||
install:
|
||||
runtime-versions:
|
||||
java: latest
|
||||
java: corretto17
|
||||
pre_build:
|
||||
commands:
|
||||
- AWS_ACC=$(echo $CODEBUILD_BUILD_ARN | cut -d':' -f5)
|
||||
- REPOSITORY_URI=$AWS_ACC.dkr.ecr.$AWS_REGION.amazonaws.com
|
||||
- uname -a
|
||||
- java -version
|
||||
- dnf
|
||||
- dnf install java-17-amazon-corretto-devel
|
||||
- java -version
|
||||
build:
|
||||
commands:
|
||||
- echo Build started on `date`
|
||||
|
|
Loading…
Reference in a new issue