goreleaser and docker

This commit is contained in:
Marvin Steadfast 2020-10-07 12:18:15 +02:00
parent beda0eda10
commit da24ce7283
2 changed files with 6 additions and 1 deletions

View File

@ -38,6 +38,11 @@ steps:
environment:
GITEA_TOKEN:
from_secret: gitea_token
DOCKER_USERNAME:
from_secret: username
DOCKER_PASSWORD:
from_secret: password
DOCKER_REGISTRY: quay.io
commands:
- curl -sL https://git.io/goreleaser | bash
depends_on:

View File

@ -29,7 +29,7 @@ archives:
dockers:
- image_templates:
- "quay.io/xsteadfastx/jitsiexporter:latest"
- "quay.io/xsteadfastx/jitsiexporter:{{ .Tag }}"
- "quay.io/xsteadfastx/jitsiexporter:{{ .Version }}"
- "quay.io/xsteadfastx/jitsiexporter:{{ .Major }}"
dockerfile: Dockerfile