fix steps
This commit is contained in:
parent
f6d4dcfc08
commit
2a648102a2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user