Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Commit

Permalink
Use commit as image_tag
Browse files Browse the repository at this point in the history
This makes for easier verification that the image used in a task
definition is the intended image. Also makes it easier to test locally
if there are issues in client applications. I.e. we can see which task
definition they use, which commit of learn-cli it corresponds to, and
check that out locally for testing.
I would prefer to use Tag, but it is not listed as one of the valid
template variables in the codeship docs.
  • Loading branch information
Jotham Apaloo committed Sep 22, 2016
1 parent 27f93a1 commit 304f907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeship-steps.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- service: app
type: push
tag: master
image_tag: latest
image_tag: "{{ .CommitID }}"
image_name: 674223647607.dkr.ecr.us-east-1.amazonaws.com/tesera/learn
registry: https://674223647607.dkr.ecr.us-east-1.amazonaws.com
dockercfg_service: dockercfg_generator
Expand Down

0 comments on commit 304f907

Please sign in to comment.