Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/examples/server_build_and_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: |
The "build_and_push_server_to_aws_ecr" job builds a Docker image, authenticates the job
with AWS using OIDC identity tokens, and pushes the image to ECR.
By default, the SHA1 hash of the commit and the "latest" string are used as a tag for
the image, while the AWS account, role, and region are sourced from the environment.

usage:
version: 2.1
orbs:
rollout: studion/rollout@x.y.z
workflows:
build_and_push_server:
jobs:
- rollout/build_and_push_server_to_aws_ecr:
path_to_dockerfile: ~/app
path_to_build_dir: ~/app/src
repo_name: my-app