Timers and other features for Heroes of the Storm
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

32 linhas
545 B

  1. kind: pipeline
  2. type: ssh
  3. name: push
  4. server:
  5. host:
  6. from_secret: ssh_host
  7. user:
  8. from_secret: ssh_user
  9. ssh_key:
  10. from_secret: ssh_key
  11. steps:
  12. - name: Build new image
  13. commands:
  14. - docker build . -f Dockerfile.production --tag="nexus-timers"
  15. - name: Stop and destroy old container
  16. failure: ignore
  17. commands:
  18. - docker ps -a | grep nexus-timers | awk '{system ("docker stop " $1); system ("docker rm " $1)}'
  19. - name: Launch new container
  20. commands:
  21. - docker run -p 7000:80 -d nexus-timers
  22. trigger:
  23. branch:
  24. - master