From 890bbfc87ed3ecd4983c844d6ecc843af519e29d Mon Sep 17 00:00:00 2001 From: "Juan Manuel \"Kang\" Perez" Date: Tue, 16 Jan 2024 15:10:54 +0100 Subject: [PATCH] fix repository owner --- .github/workflows/build.yaml | 2 + .goreleaser.yaml | 172 ++++++++++++++--------------------- 2 files changed, 72 insertions(+), 102 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bf7189c..0102db3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -56,6 +56,7 @@ jobs: args: build --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ORGANIZATION: ${{ github.repository_owner }} - name: Run GoReleaser if: startsWith(github.ref, 'refs/heads/main') == true @@ -65,3 +66,4 @@ jobs: args: release --rm-dist --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ORGANIZATION: ${{ github.repository_owner }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 543f926..8f022f5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -8,7 +8,6 @@ builds: goos: - linux goarch: - - "386" - amd64 - arm - arm64 @@ -28,40 +27,19 @@ release: disable: true dockers: - - goarch: 386 - use: buildx - image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}-386" - build_flag_templates: - - "--platform=linux/386" - - "--build-arg=BINARY_NAME={{ .ProjectName }}" - - "--label=org.opencontainers.image.created={{ .Date }}" - - "--label=org.opencontainers.image.title={{ .ProjectName }}" - - "--label=org.opencontainers.image.revision={{ .FullCommit }}" - - "--label=org.opencontainers.image.version={{ .Version }}" - - goarch: amd64 use: buildx image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-{{ .ShortCommit }}-amd64" build_flag_templates: - "--platform=linux/amd64" - "--build-arg=BINARY_NAME={{ .ProjectName }}" @@ -74,16 +52,16 @@ dockers: goarm: 7 use: buildx image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-{{ .ShortCommit }}-arm" build_flag_templates: - "--platform=linux/arm" - "--build-arg=BINARY_NAME={{ .ProjectName }}" @@ -95,16 +73,16 @@ dockers: - goarch: arm64 use: buildx image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-arm64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-{{ .ShortCommit }}-arm64" build_flag_templates: - "--platform=linux/arm64" - "--build-arg=BINARY_NAME={{ .ProjectName }}" @@ -114,73 +92,63 @@ dockers: - "--label=org.opencontainers.image.version={{ .Version }}" docker_manifests: - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:latest" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Tag }}-{{ .ShortCommit }}-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}-{{ .ShortCommit }}-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}-{{ .ShortCommit }}-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:{{ .Major }}.{{ .Minor }}.{{ .Patch }}-{{ .ShortCommit }}-arm64" - - name_template: "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}" + - name_template: "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-{{ .ShortCommit }}" image_templates: - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}-386" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}-amd64" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}-arm" - - "ghcr.io/kang-makes/{{ .ProjectName }}:latest-{{ .ShortCommit }}-arm64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-{{ .ShortCommit }}-amd64" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-{{ .ShortCommit }}-arm" + - "ghcr.io/{{ .Env GITHUB_ORGANIZATION }}/{{ .ProjectName }}:latest-{{ .ShortCommit }}-arm64"