plakken/.woodpecker/release.yaml
2024-05-11 13:17:33 +02:00

24 lines
No EOL
637 B
YAML

steps:
- name: Release
image: goreleaser/goreleaser:latest
commands:
- goreleaser release
secrets: [ gitea_token ]
when:
event: tag
- name: publish_image_tag
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.gnous.eu/${CI_REPO_OWNER}/plakken
dockerfile: docker/Dockerfile
platforms: linux/amd64,linux/arm64/v8,linux/arm
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:
event: tag