Serves files to the public, static content host, etc.
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
427 B

  1. kind: pipeline
  2. name: default
  3. workspace:
  4. base: /go
  5. path: src/deadbeef.codes/steven/deadbeef.codes-publicfileserver
  6. steps:
  7. - name: build
  8. image: golang
  9. pull: always
  10. environment:
  11. GOOS: linux
  12. GOARCH: amd64
  13. CGO_ENABLED: 0
  14. commands:
  15. - go version
  16. - go get
  17. - go build -a -ldflags '-w'
  18. - name: publish
  19. image: plugins/docker
  20. settings:
  21. repo: registry.deadbeef.codes/deadbeef.codes-publicfileserver