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