2023-07-04 16:20:37 -05:00
|
|
|
pipeline:
|
2023-07-04 16:29:12 -05:00
|
|
|
build:
|
2023-07-04 20:03:46 -05:00
|
|
|
image: docker.io/golang:latest
|
2023-07-04 16:29:12 -05:00
|
|
|
commands:
|
|
|
|
- go get
|
|
|
|
- go build
|
2023-06-07 16:31:46 -05:00
|
|
|
publish:
|
2023-07-04 20:03:12 -05:00
|
|
|
image: docker.io/woodpeckerci/plugin-docker-buildx
|
2023-07-04 16:04:24 -05:00
|
|
|
settings:
|
2023-07-05 11:24:25 -05:00
|
|
|
platforms: linux/amd64,linux/arm/v6,linux/arm64/v8
|
2023-07-04 20:07:17 -05:00
|
|
|
repo: codeberg.org/${CI_REPO_OWNER}/safetwitch-backend
|
2023-07-04 16:04:24 -05:00
|
|
|
registry: codeberg.org
|
2023-07-04 16:29:12 -05:00
|
|
|
tags: latest
|
2023-07-04 16:04:24 -05:00
|
|
|
username: ${CI_REPO_OWNER}
|
|
|
|
password:
|
2023-07-04 16:29:12 -05:00
|
|
|
from_secret: docker_password
|