Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 695 B

123456789101112131415161718192021222324252627282930313233343536
  1. kind: pipeline
  2. name: default
  3. steps:
  4. - name: build tagged docker image
  5. image: plugins/docker
  6. settings:
  7. username:
  8. from_secret: docker_username
  9. password:
  10. from_secret: docker_password
  11. dockerfile: Dockerfile
  12. repo: evolix/ansible-roles
  13. auto_tag: true
  14. environment:
  15. ROLES_VERSION: $DRONE_COMMIT_SHA
  16. when:
  17. event:
  18. - tag
  19. - name: build latest docker image
  20. image: plugins/docker
  21. settings:
  22. username:
  23. from_secret: docker_username
  24. password:
  25. from_secret: docker_password
  26. dockerfile: Dockerfile
  27. repo: evolix/ansible-roles
  28. tags: latest
  29. environment:
  30. ROLES_VERSION: $DRONE_COMMIT_SHA
  31. when:
  32. branch:
  33. - unstable