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.

25 lines
538 B

  1. name: lucifer4-build
  2. kind: pipeline
  3. type: docker
  4. steps:
  5. - name: go-test
  6. image: golang:1.20
  7. commands:
  8. - go test -v ./...
  9. when:
  10. event:
  11. exclude:
  12. - tag
  13. - name: docker-backend-tag
  14. image: plugins/docker
  15. settings:
  16. auto_tag: true
  17. username:
  18. from_secret: docker_username
  19. password:
  20. from_secret: docker_password
  21. repo: r.vmaple.dev/lucifer/backend
  22. registry: r.vmaple.dev
  23. dockerfile: docker/backend/Dockerfile
  24. when:
  25. event:
  26. - tag