chore: build docker image in ci

This commit is contained in:
henne 2024-12-30 19:33:52 +01:00
parent 942fa88394
commit 282c3bbc0e

View file

@ -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