mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
Completion of ECR build files
This commit is contained in:
parent
8822d82c96
commit
cbd2de4ec6
2 changed files with 18 additions and 0 deletions
|
@ -9,8 +9,15 @@ Parameters:
|
||||||
Type: String
|
Type: String
|
||||||
LogStream:
|
LogStream:
|
||||||
Type: String
|
Type: String
|
||||||
|
RepoName:
|
||||||
|
Type: String
|
||||||
|
AllowedPattern: (?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*
|
||||||
|
|
||||||
Resources:
|
Resources:
|
||||||
|
ECRRepository:
|
||||||
|
Type: AWS::ECR::Repository
|
||||||
|
Properties:
|
||||||
|
RepositoryName: !Ref RepoName
|
||||||
CodeBuildProject:
|
CodeBuildProject:
|
||||||
Type: AWS::CodeBuild::Project
|
Type: AWS::CodeBuild::Project
|
||||||
Properties:
|
Properties:
|
||||||
|
|
11
ecr.yml
Normal file
11
ecr.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
AWSTemplateFormatVersion: 2010-09-09
|
||||||
|
Parameters:
|
||||||
|
RepoName:
|
||||||
|
Type: String
|
||||||
|
AllowedPattern: (?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*
|
||||||
|
Resources:
|
||||||
|
ECRRepository:
|
||||||
|
Type: AWS::ECR::Repository
|
||||||
|
Properties:
|
||||||
|
RepositoryName: !Ref RepoName
|
Loading…
Reference in a new issue