plakken/.woodpecker/release.yaml

27 lines
736 B
YAML
Raw Normal View History

steps:
2024-03-10 10:40:33 +01:00
- name: Release
2024-03-10 11:14:10 +01:00
image: golang:1.22
commands:
2024-03-10 11:14:10 +01:00
- go install github.com/goreleaser/goreleaser@latest
2024-03-10 11:11:29 +01:00
- goreleaser release
secrets: [ gitea_token ]
when:
event: tag
2024-05-11 14:59:30 +02:00
repo: gnouseu/plakken
2024-03-10 10:44:34 +01:00
- name: publish_image_tag
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.gnous.eu/${CI_REPO_OWNER}/plakken
2024-05-11 14:54:55 +02:00
dockerfile: deployment/docker/Dockerfile
2024-05-11 03:30:03 +02:00
platforms: linux/amd64,linux/arm64/v8
2024-03-10 10:44:34 +01:00
registry: https://git.gnous.eu
tags:
- ${CI_COMMIT_TAG##v} # Remove v from tag
- stable
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
2024-05-11 14:59:30 +02:00
event: tag
repo: gnouseu/plakken