22 lines
445 B
YAML
22 lines
445 B
YAML
when:
|
|
- event: push
|
|
branch: main
|
|
|
|
steps:
|
|
test:
|
|
image: golang:1.24
|
|
commands:
|
|
- go test ./...
|
|
pre-release:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
settings:
|
|
platforms: linux/arm64/v8,linux/amd64
|
|
repo: lerentis/woodpecker-autoscaler
|
|
tags:
|
|
- latest
|
|
- ${CI_COMMIT_SHA}
|
|
password:
|
|
from_secret: docker_hub_password
|
|
username:
|
|
from_secret: docker_hub_username
|