--- kind: pipeline type: docker name: default steps: - name: "lint" image: golangci/golangci-lint:v1.50 pull: if-not-exists commands: - cd src - golangci-lint run - name: "build and publish docker image" image: plugins/docker pull: if-not-exists settings: registry: gitea.linuxcode.net repo: gitea.linuxcode.net/linuxcode/oapi-type-definitions-extractor auto_tag: true dockerfile: dockerfile tags: - latest - ${DRONE_TAG} username: from_secret: drone_docker_username password: from_secret: drone_docker_password