Skip to content

Commit

Permalink
chore: update directory docker releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Dec 19, 2024
1 parent c4ecbd7 commit 6420f9c
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 40 deletions.
32 changes: 16 additions & 16 deletions releaser/.goreleaser-directory-cross-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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}}'
32 changes: 16 additions & 16 deletions releaser/.goreleaser-directory-cross.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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}}'
8 changes: 4 additions & 4 deletions releaser/.goreleaser-directory-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions releaser/.goreleaser-directory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 6420f9c

Please sign in to comment.