mirror of
https://github.com/hackdiaz-dev/free-turn-proxy.git
synced 2026-10-12 09:41:53 +02:00
chore: use GITHUB_REPOSITORY env for Docker images and OCI label
- Removed hardcoded owner/name from release.github – not needed when using GITHUB_TOKEN.
- Replaced explicit repo strings with {{ .Env.GITHUB_REPOSITORY }} for Docker image names and the org.opencontainers.image.source label.
- Makes the config reusable across forks – no manual edits required when moving the project.
This commit is contained in:
+2
-5
@@ -145,9 +145,6 @@ changelog:
|
||||
- 'Merge branch'
|
||||
|
||||
release:
|
||||
github:
|
||||
owner: samosvalishe
|
||||
name: free-turn-proxy
|
||||
prerelease: auto
|
||||
mode: replace
|
||||
draft: false
|
||||
@@ -159,7 +156,7 @@ dockers_v2:
|
||||
- server
|
||||
dockerfile: Dockerfile.goreleaser
|
||||
images:
|
||||
- ghcr.io/samosvalishe/free-turn-proxy
|
||||
- "ghcr.io/samosvalishe/{{ .Env.GITHUB_REPOSITORY }}"
|
||||
tags:
|
||||
- "{{ .Version }}"
|
||||
- '{{ if not .Prerelease }}latest{{ end }}'
|
||||
@@ -167,7 +164,7 @@ dockers_v2:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
labels:
|
||||
org.opencontainers.image.source: https://github.com/samosvalishe/free-turn-proxy
|
||||
org.opencontainers.image.source: "https://github.com/samosvalishe/{{ .Env.GITHUB_REPOSITORY }}"
|
||||
org.opencontainers.image.version: "{{ .Version }}"
|
||||
org.opencontainers.image.revision: "{{ .FullCommit }}"
|
||||
org.opencontainers.image.created: "{{ .Date }}"
|
||||
|
||||
Reference in New Issue
Block a user