Docker build instruction in README, circle-ci can build and push the two images

This commit is contained in:
Alexandre BRACH
2019-05-16 17:43:28 +02:00
parent 6e55ff92d6
commit be588ca396
2 changed files with 30 additions and 3 deletions

View File

@@ -122,7 +122,18 @@ workflows:
context: "AWS London"
create-repo: true
dockerfile: Dockerfile
#profile-name: myProfileName
extra-build-args: "--target phraseanet"
region: AWS_DEFAULT_REGION
repo: "${AWS_RESOURCE_NAME_PREFIX}/phraseanet"
tag: "alpha-0.1"
- aws-ecr/build_and_push_image:
account-url: AWS_ACCOUNT_URL
aws-access-key-id: AWS_ACCESS_KEY_ID
aws-secret-access-key: AWS_SECRET_ACCESS_KEY
context: "AWS London"
create-repo: true
dockerfile: Dockerfile
extra-build-args: "--target phraseanet-nginx"
region: AWS_DEFAULT_REGION
repo: "${AWS_RESOURCE_NAME_PREFIX}/phraseanet-nginx"
tag: "alpha-0.1"