Skip to content

Instantly share code, notes, and snippets.

View pjaol's full-sized avatar
:bowtie:
👨‍🏫 🇮🇪

patrick oleary pjaol

:bowtie:
👨‍🏫 🇮🇪
View GitHub Profile
@pjaol
pjaol / aws-codebuild-cross-account-image-push.yml
Created June 27, 2017 15:13 — forked from tvalletta/aws-codebuild-cross-account-image-push.yml
AWS CodeBuild buildspec.yml example for building a docker image and pushing it to a AWS ECS docker repo in another AWS account
version: 0.1
# REQUIRED ENVIRONMENT VARIABLES
# AWS_KEY - AWS Access Key ID
# AWS_SEC - AWS Secret Access Key
# AWS_REG - AWS Default Region (e.g. us-west-2)
# AWS_OUT - AWS Output Format (e.g. json)
# AWS_PROF - AWS Profile name (e.g. central-account)
# IMAGE_REPO_NAME - Name of the image repo (e.g. my-app)
# IMAGE_TAG - Tag for the image (e.g. latest)