astral-api/.woodpecker.yml

23 lines
686 B
YAML
Raw Normal View History

2024-12-14 19:53:53 +01:00
steps:
- name: Tests
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet test
2024-12-15 21:43:00 +01:00
2024-12-15 21:45:18 +01:00
- name: Build and Publish Dev Docker Image
2024-12-15 21:43:00 +01:00
when:
- branch: dev
2024-12-15 21:46:59 +01:00
event: [pull_request_closed]
2024-12-15 21:43:00 +01:00
image: woodpeckerci/plugin-docker-buildx:4.2
settings:
platforms: linux/amd64,linux/arm64
repo: ${CI_REG_HOST}:${CI_REG_PORT}/${CI_REPO_OWNER}/${CI_REPO_NAME}
tags: dev
registry: http://${CI_REG_HOST}:${CI_REG_PORT}
insecure: true
buildkit_config: "[registry.\"${CI_REG_HOST}:${CI_REG_PORT}\"]\n http = true\n insecure = true"
username:
from_secret: CI_REG_USER
password:
from_secret: CI_REG_TOKEN