kind: pipeline type: docker name: default steps: - name: build image: golang commands: - CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' . - name: publish image: techknowlogick/drone-docker:latest privileged: true settings: repo: garionion/gitea-attachements-proxy debug: true password: from_secret: docker_password username: from_secret: docker_username tags: - latest