fix steps

This commit is contained in:
ALinuxNinja 2017-05-11 20:11:11 -04:00
parent a47186b7c9
commit c14d38e476

View File

@ -4,13 +4,13 @@
registry: https://index.docker.io/v1/ registry: https://index.docker.io/v1/
encrypted_dockercfg_path: dockercfg.encrypted encrypted_dockercfg_path: dockercfg.encrypted
steps: steps:
- docker tag alinuxninja/postal alinuxninja/postal:latest - command: docker tag alinuxninja/postal alinuxninja/postal:latest
- docker push alinuxninja/postal - command: docker push alinuxninja/postal
- service: app - service: app
type: serial type: serial
image_name: alinuxninja/postal image_name: alinuxninja/postal
registry: https://index.docker.io/v1/ registry: https://index.docker.io/v1/
encrypted_dockercfg_path: dockercfg.encrypted encrypted_dockercfg_path: dockercfg.encrypted
steps: steps:
- 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 tag alinuxninja/postal alinuxninja/postal:$(git rev-parse --short $(git ls-remote https://github.com/atech/postal.git refs/heads/master | awk '{print $1}'))
- docker push alinuxninja/postal - command: docker push alinuxninja/postal