diff --git a/.drone.yml b/.drone.yml index 9836aff..472bfb2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,27 +19,6 @@ steps: GOARCH: amd64 commands: - go build -v -o dist/machinelock-manager-linux-amd64 - - name: Building for Windows - image: golang - environment: - GOOS: windows - GOARCH: amd64 - commands: - - go build -v -o dist/machinelock-manager-windows-amd64 - - name: Building for Mac - image: golang - environment: - GOOS: darwin - GOARCH: amd64 - commands: - - go build -v -o dist/machinelock-manager-darwin-amd64 - - name: Building for Mac Silicon - image: golang - environment: - GOOS: darwin - GOARCH: arm64 - commands: - - go build -v -o dist/machinelock-manager-darwin-arm64 - name: gitea release image: plugins/gitea-release settings: @@ -51,4 +30,12 @@ steps: - md5 - sha1 - sha256 + - name: build docker image + image: plugins/docker + settings: + username: ctdo + password: + from_secret: dockerhub_password + repo: ctdo/machinelock-manager + tags: latest \ No newline at end of file