From 282c3bbc0e2ea8d5355eb33f86542cd8575baf0c Mon Sep 17 00:00:00 2001 From: henne Date: Mon, 30 Dec 2024 19:33:52 +0100 Subject: [PATCH] chore: build docker image in ci --- .drone.yml | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) 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