diff --git a/.drone.yml b/.drone.yml index a65f722..a9f8743 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,7 @@ steps: - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories - apk update && apk add build-base - CGO_ENABLED=1 go build + - name: gitea_release image: plugins/gitea-release pull: if-not-exists @@ -23,4 +24,15 @@ steps: checksum: - sha256 when: - event: tag \ No newline at end of file + event: tag + + - name: publish + image: plugins/docker:latest + pull: if-not-exists + settings: + username: + from_secret: hub_username + password: + from_secret: hub_password + repo: rainerosion/e5subbot + tags: latest \ No newline at end of file