diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 434b786e..2c557a75 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -9,6 +9,7 @@ builds: - CGO_ENABLED=0 - id: proxy binary: proxy + main: ./proxy goos: - linux env: @@ -117,6 +118,10 @@ docker_manifests: image_templates: - ghcr.io/doodlescheduling/{{ .ProjectName }}:v{{ .Version }}-amd64 - ghcr.io/doodlescheduling/{{ .ProjectName }}:v{{ .Version }}-arm64v8 +- name_template: ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Major }} + image_templates: + - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-amd64 + - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-arm64v8 - name_template: ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }} image_templates: - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-amd64 diff --git a/README.md b/README.md index a55fdb76..20d8ab6e 100644 --- a/README.md +++ b/README.md @@ -372,7 +372,7 @@ spec: fieldPath: metadata.namespace - name: PROXY_ADDRESS value: 127.0.0.1:8080 - image: ghcr.io/doodlescheduling/keycloak-controller/proxy:v2.0.0 + image: ghcr.io/doodlescheduling/keycloak-controller/proxy:v2 name: proxy serviceAccount: keycloakrealm-default ```