plakken/.woodpecker/release.yaml

29 lines
774 B
YAML
Raw Permalink Normal View History

steps:
2024-03-10 01:19:19 +01:00
- name: Release
image: golang:1.22
commands:
2024-03-10 01:19:19 +01:00
- go install github.com/goreleaser/goreleaser@latest
- goreleaser release
secrets: [ gitea_token ]
when:
event: tag
2024-03-10 01:19:19 +01:00
repo: gnouseu/plakken
depends_on: []
- name: publish_image_tag
image: woodpeckerci/plugin-docker-buildx
settings:
2024-03-10 01:19:19 +01:00
repo: git.gnous.eu/${CI_REPO_OWNER}/plakken
dockerfile: deployment/docker/Dockerfile
platforms: linux/amd64,linux/arm64/v8
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-03-10 01:19:19 +01:00
event: tag
repo: gnouseu/plakken
depends_on: []