A bot that toots out new Pleroma releases. https://social.bn4t.me/PleromaReleases
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.

34 lines
762B

  1. kind: pipeline
  2. name: default
  3. steps:
  4. - name: build
  5. image: docker:dind
  6. environment:
  7. USERNAME:
  8. from_secret: registry_username
  9. PASSWORD:
  10. from_secret: registry_password
  11. volumes:
  12. - name: dockersock
  13. path: /var/run
  14. commands:
  15. - sleep 10 # give docker enough time to start
  16. - docker login -u $USERNAME -p $PASSWORD registry.bn4t.me
  17. - docker build --pull -t registry.bn4t.me/bn4t/pleroma-release-bot:latest .
  18. - docker push registry.bn4t.me/bn4t/pleroma-release-bot:latest
  19. when:
  20. branch:
  21. - master
  22. services:
  23. - name: docker
  24. image: docker:dind
  25. privileged: true
  26. volumes:
  27. - name: dockersock
  28. path: /var/run
  29. volumes:
  30. - name: dockersock
  31. temp: {}