Skip to content

Bash functions to use in bitbucket pipelines to build docker images, store them in ECR and start deploy

Notifications You must be signed in to change notification settings

jvanhent/bb-docker-aws-utils

 
 

Repository files navigation

bb-docker-aws-utils - Bash functions to build and deploy docker images from a BitBucket pipeline

Pipeline requirements

Environment for docker image build and push

  • AWS_ACCESS_KEY_ID_ECR_SOURCE
  • AWS_SECRET_ACCESS_KEY_ECR_SOURCE
  • AWS_REGION_SOURCE: Optional, default is eu-central-1
  • AWS_ACCESS_KEY_ID_ECR_TARGET
  • AWS_SECRET_ACCESS_KEY_ECR_TARGET
  • AWS_REGION_TARGET: Optional, default is eu-central-1
  • DOCKER_IMAGE

Environment for triggering other pipeline

IMPORTANT: The script sync_trigger_bb_build.bash requires jq

About

Bash functions to use in bitbucket pipelines to build docker images, store them in ECR and start deploy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%