From 2a648102a2fccd3ced32f33af33ab932d6b41bda Mon Sep 17 00:00:00 2001 From: ALinuxNinja Date: Thu, 11 May 2017 20:07:45 -0400 Subject: [PATCH] fix steps --- codeship-steps.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/codeship-steps.yml b/codeship-steps.yml index 61c0036..54cce60 100644 --- a/codeship-steps.yml +++ b/codeship-steps.yml @@ -3,10 +3,14 @@ image_name: alinuxninja/postal registry: https://index.docker.io/v1/ encrypted_dockercfg_path: dockercfg.encrypted - command: docker tag alinuxninja/postal alinuxninja/postal:latest && docker push alinuxninja/postal + steps: + - docker tag alinuxninja/postal alinuxninja/postal:latest + - docker push alinuxninja/postal - service: app type: push image_name: alinuxninja/postal registry: https://index.docker.io/v1/ encrypted_dockercfg_path: dockercfg.encrypted - 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 + 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}')) + - docker push alinuxninja/postal