miniauth/.woodpecker/test.yaml
2025-03-18 16:18:11 +01:00

20 lines
501 B
YAML

when:
- event: push
branch: main
steps:
- name: go-tests
image: golang:1.24
commands:
- go test ./...
- name: build-docker-image
image: woodpeckerci/plugin-docker-buildx:5.2.1
settings:
repo: git.keks.cloud/${CI_REPO_OWNER}/miniauth
dockerfile: Dockerfile
#platforms: linux/amd64,linux/arm64,linux/arm64/v8
tag: ${CI_COMMIT_SHA}
registry: git.keks.cloud
username: ${CI_REPO_OWNER}
password:
from_secret: docker_password