2024-02-18 22:27:25 +01:00
|
|
|
steps:
|
2024-03-10 10:40:33 +01:00
|
|
|
- name: Release
|
|
|
|
image: goreleaser/goreleaser:latest
|
2024-02-18 22:27:25 +01:00
|
|
|
commands:
|
2024-03-10 11:07:14 +01:00
|
|
|
- GITEA_TOKEN=${release_token} goreleaser release
|
2024-03-10 10:31:04 +01:00
|
|
|
secrets: [ release_token ]
|
2024-02-18 22:27:25 +01:00
|
|
|
when:
|
|
|
|
event: tag
|
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
|
|
|
|
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
|