From 6420f9caa50dcdeedb5f0ef0eebe392aa24264d9 Mon Sep 17 00:00:00 2001 From: shreyasbhat0 Date: Thu, 19 Dec 2024 13:47:44 +0530 Subject: [PATCH] chore: update directory docker releaser --- .../.goreleaser-directory-cross-testnet.yaml | 32 +++++++++---------- releaser/.goreleaser-directory-cross.yaml | 32 +++++++++---------- releaser/.goreleaser-directory-testnet.yaml | 8 ++--- releaser/.goreleaser-directory.yaml | 8 ++--- 4 files changed, 40 insertions(+), 40 deletions(-) diff --git a/releaser/.goreleaser-directory-cross-testnet.yaml b/releaser/.goreleaser-directory-cross-testnet.yaml index 79ce8f09..412e7fe3 100644 --- a/releaser/.goreleaser-directory-cross-testnet.yaml +++ b/releaser/.goreleaser-directory-cross-testnet.yaml @@ -171,8 +171,8 @@ dockers: goarch: arm64 dockerfile: docker/Dockerfile.api image_templates: - - 'ghcr.io/arkeonetwork/directory/api-testnet:latest-arm64' - - 'ghcr.io/arkeonetwork/directory/api-testnet:{{ .Version }}-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-latest-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-{{ .Version }}-arm64' build_flag_templates: - "--pull" - "--platform=linux/arm64" @@ -190,8 +190,8 @@ dockers: goarch: arm64 dockerfile: docker/Dockerfile.indexer image_templates: - - 'ghcr.io/arkeonetwork/directory/indexer-testnet:latest-arm64' - - 'ghcr.io/arkeonetwork/directory/indexer-testnet:{{ .Version }}-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-latest-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-{{ .Version }}-arm64' build_flag_templates: - "--pull" - "--platform=linux/arm64" @@ -205,25 +205,25 @@ dockers: - "--label=org.opencontainers.image.licenses=Apache-2.0" docker_manifests: - - name_template: 'ghcr.io/arkeonetwork/directory/api-testnet:latest' + - name_template: 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-latest' image_templates: - - 'ghcr.io/arkeonetwork/directory/api-testnet:latest-amd64' - - 'ghcr.io/arkeonetwork/directory/api-testnet:latest-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-latest-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-latest-arm64' - - name_template: 'ghcr.io/arkeonetwork/directory/api-testnet:{{ .Version }}' + - name_template: 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-{{ .Version }}' image_templates: - - 'ghcr.io/arkeonetwork/directory/api-testnet:{{ .Version }}-amd64' - - 'ghcr.io/arkeonetwork/directory/api-testnet:{{ .Version }}-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-{{ .Version }}-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-{{ .Version }}-arm64' - - name_template: 'ghcr.io/arkeonetwork/directory/indexer-testnet:latest' + - name_template: 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-latest' image_templates: - - 'ghcr.io/arkeonetwork/directory/indexer-testnet:latest-amd64' - - 'ghcr.io/arkeonetwork/directory/indexer-testnet:latest-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-latest-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-latest-arm64' - - name_template: 'ghcr.io/arkeonetwork/directory/indexer-testnet:{{ .Version }}' + - name_template: 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-{{ .Version }}' image_templates: - - 'ghcr.io/arkeonetwork/directory/indexer-testnet:{{ .Version }}-amd64' - - 'ghcr.io/arkeonetwork/directory/indexer-testnet:{{ .Version }}-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-{{ .Version }}-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-{{ .Version }}-arm64' release: skip_upload: '{{ if eq .Env.RELEASE "true" }}false{{else}}true{{end}}' \ No newline at end of file diff --git a/releaser/.goreleaser-directory-cross.yaml b/releaser/.goreleaser-directory-cross.yaml index f6672e4a..466c81cd 100644 --- a/releaser/.goreleaser-directory-cross.yaml +++ b/releaser/.goreleaser-directory-cross.yaml @@ -171,8 +171,8 @@ dockers: goarch: arm64 dockerfile: docker/Dockerfile.api image_templates: - - 'ghcr.io/arkeonetwork/directory/api:latest-arm64' - - 'ghcr.io/arkeonetwork/directory/api:{{ .Version }}-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-latest-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-{{ .Version }}-arm64' build_flag_templates: - "--pull" - "--platform=linux/arm64" @@ -190,8 +190,8 @@ dockers: goarch: arm64 dockerfile: docker/Dockerfile.indexer image_templates: - - 'ghcr.io/arkeonetwork/directory/indexer:latest-arm64' - - 'ghcr.io/arkeonetwork/directory/indexer:{{ .Version }}-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-latest-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-{{ .Version }}-arm64' build_flag_templates: - "--pull" - "--platform=linux/arm64" @@ -205,25 +205,25 @@ dockers: - "--label=org.opencontainers.image.licenses=Apache-2.0" docker_manifests: - - name_template: 'ghcr.io/arkeonetwork/directory/api:latest' + - name_template: 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-latest' image_templates: - - 'ghcr.io/arkeonetwork/directory/api:latest-amd64' - - 'ghcr.io/arkeonetwork/directory/api:latest-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-latest-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-latest-arm64' - - name_template: 'ghcr.io/arkeonetwork/directory/api:{{ .Version }}' + - name_template: ghcr.io/arkeonetwork/{{ .ProjectName }}:api-{{ .Version }}' image_templates: - - 'ghcr.io/arkeonetwork/directory/api:{{ .Version }}-amd64' - - 'ghcr.io/arkeonetwork/directory/api:{{ .Version }}-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-{{ .Version }}-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-{{ .Version }}-arm64' - - name_template: 'ghcr.io/arkeonetwork/directory/indexer:latest' + - name_template: 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-latest' image_templates: - - 'ghcr.io/arkeonetwork/directory/indexer:latest-amd64' - - 'ghcr.io/arkeonetwork/directory/indexer:latest-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-latest-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-latest-arm64' - - name_template: 'ghcr.io/arkeonetwork/directory/indexer:{{ .Version }}' + - name_template: 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-{{ .Version }}' image_templates: - - 'ghcr.io/arkeonetwork/directory/indexer:{{ .Version }}-amd64' - - 'ghcr.io/arkeonetwork/directory/indexer:{{ .Version }}-arm64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-{{ .Version }}-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-{{ .Version }}-arm64' release: skip_upload: '{{ if eq .Env.RELEASE "true" }}false{{else}}true{{end}}' \ No newline at end of file diff --git a/releaser/.goreleaser-directory-testnet.yaml b/releaser/.goreleaser-directory-testnet.yaml index be23977d..1866d349 100644 --- a/releaser/.goreleaser-directory-testnet.yaml +++ b/releaser/.goreleaser-directory-testnet.yaml @@ -100,8 +100,8 @@ dockers: goarch: amd64 dockerfile: docker/Dockerfile.api image_templates: - - 'ghcr.io/arkeonetwork/{{ .ProjectName }}/api-testnet:latest-amd64' - - 'ghcr.io/arkeonetwork/{{ .ProjectName }}/api-testnet:{{ .Version }}-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-latest-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-testnet-{{ .Version }}-amd64' build_flag_templates: - "--pull" - "--platform=linux/amd64" @@ -119,8 +119,8 @@ dockers: goarch: amd64 dockerfile: docker/Dockerfile.indexer image_templates: - - 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer-testnet:latest-amd64' - - 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer-testnet:{{ .Version }}-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-latest-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-testnet-{{ .Version }}-amd64' build_flag_templates: - "--pull" - "--platform=linux/amd64" diff --git a/releaser/.goreleaser-directory.yaml b/releaser/.goreleaser-directory.yaml index 5d153ad7..c529a865 100644 --- a/releaser/.goreleaser-directory.yaml +++ b/releaser/.goreleaser-directory.yaml @@ -100,8 +100,8 @@ dockers: goarch: amd64 dockerfile: docker/Dockerfile.api image_templates: - - 'ghcr.io/arkeonetwork/{{ .ProjectName }}/api:latest-amd64' - - 'ghcr.io/arkeonetwork/{{ .ProjectName }}/api:{{ .Version }}-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-latest-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:api-{{ .Version }}-amd64' build_flag_templates: - "--pull" - "--platform=linux/amd64" @@ -119,8 +119,8 @@ dockers: goarch: amd64 dockerfile: docker/Dockerfile.indexer image_templates: - - 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer:latest-amd64' - - 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer:{{ .Version }}-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-latest-amd64' + - 'ghcr.io/arkeonetwork/{{ .ProjectName }}:indexer-{{ .Version }}-amd64' build_flag_templates: - "--pull" - "--platform=linux/amd64"