postal/codeship-steps.yml

15 lines
588 B
YAML
Raw Normal View History

2017-05-12 02:06:04 +02:00
- service: app
2017-05-12 02:34:46 +02:00
type: serial
2017-05-11 21:55:38 +02:00
registry: https://index.docker.io/v1/
encrypted_dockercfg_path: dockercfg.encrypted
2017-05-12 02:07:45 +02:00
steps:
2017-05-12 02:11:11 +02:00
- command: docker tag alinuxninja/postal alinuxninja/postal:latest
- command: docker push alinuxninja/postal
2017-05-12 02:06:04 +02:00
- service: app
2017-05-12 02:34:46 +02:00
type: serial
2017-05-12 02:03:11 +02:00
registry: https://index.docker.io/v1/
encrypted_dockercfg_path: dockercfg.encrypted
2017-05-12 02:07:45 +02:00
steps:
2017-05-12 02:11:11 +02:00
- command: docker tag alinuxninja/postal alinuxninja/postal:$(git rev-parse --short $(git ls-remote https://github.com/atech/postal.git refs/heads/master | awk '{print $1}'))
- command: docker push alinuxninja/postal