owobot/.woodpecker.yml
Elara Musayelyan 72b80da644
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add versioned tag for container image
2023-12-04 16:47:41 -08:00

23 lines
675 B
YAML

platform: linux/amd64
steps:
docker:
image: gitea.elara.ws/elara6331/builder
environment:
- REGISTRY=gitea.elara.ws
- REGISTRY_USERNAME=Elara6331
- KO_DOCKER_REPO=gitea.elara.ws/owobot
- KO_DEFAULTBASEIMAGE=gitea.elara.ws/elara6331/static
secrets: [ registry_password ]
commands:
- registry-login
- ko build -B --platform=linux/amd64,linux/arm64,linux/riscv64 -t latest,${CI_COMMIT_TAG} --sbom=none
when:
event: tag
release:
image: goreleaser/goreleaser
commands:
- goreleaser release
secrets: [ gitea_token, aur_key, discord_webhook_id, discord_webhook_token ]
when:
event: tag