Skip to content

Commit

Permalink
add staging step, tag commit with commit sha instead of branch
Browse files Browse the repository at this point in the history
  • Loading branch information
meaganacombs committed Mar 28, 2024
1 parent 755258a commit 3aaf2c9
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions codeship-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@
type: serial
steps:
- service: elevation-service
tag: ^(master|develop|staging)
tag: ^(master|develop)
type: push
image_name: 265147712162.dkr.ecr.us-east-1.amazonaws.com/gaiagps/elevation-service
image_tag: "{{ .Branch }}"
image_tag: "{{ .CommitID }}"
registry: https://265147712162.dkr.ecr.us-east-1.amazonaws.com
dockercfg_service: awsgenerator
dockercfg_service: awsgenerator
- name: push-staging
type: serial
steps:
- service: elevation-service
tag: ^(staging)$
type: push
image_name: 265147712162.dkr.ecr.us-east-1.amazonaws.com/gaiagps/elevation-service
image_tag: "staging"
registry: https://265147712162.dkr.ecr.us-east-1.amazonaws.com
dockercfg_service: awsecrpush

0 comments on commit 3aaf2c9

Please sign in to comment.