Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbhat0 committed Dec 16, 2024
1 parent 395d04a commit 561ff63
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions releaser/.goreleaser-directory-cross.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ dockers:
goarch: arm64
dockerfile: docker/Dockerfile.api
image_templates:
- 'ghcr.io/arkeonetwork/api:{{if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{else}}{{if eq .Env.RELEASE "true"}}v{{ .Version }}-arm64{{else}}{{ .ShortCommit }}-arm64{{end}}{{end}}'
- 'ghcr.io/arkeonetwork/{{ .ProjectName }}/api:{{if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{else}}{{if eq .Env.RELEASE "true"}}v{{ .Version }}-arm64{{else}}{{ .ShortCommit }}-arm64{{end}}{{end}}'
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
Expand All @@ -194,7 +194,7 @@ dockers:
goarch: arm64
dockerfile: docker/Dockerfile.indexer
image_templates:
- 'ghcr.io/arkeonetwork/indexer:{{if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{else}}{{if eq .Env.RELEASE "true"}}v{{ .Version }}-arm64{{else}}{{ .ShortCommit }}-arm64{{end}}{{end}}'
- 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer:{{if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{else}}{{if eq .Env.RELEASE "true"}}v{{ .Version }}-arm64{{else}}{{ .ShortCommit }}-arm64{{end}}{{end}}'
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
Expand All @@ -208,11 +208,11 @@ dockers:
- "--label=org.opencontainers.image.licenses=Apache-2.0"

docker_manifests:
- name_template: 'ghcr.io/arkeonetwork/indexer:{{if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{else}}{{if eq .Env.RELEASE "true" }}v{{ .Version }}{{else}}{{ .ShortCommit }}{{end}}{{end}}'
- name_template: 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer:{{if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{else}}{{if eq .Env.RELEASE "true" }}v{{ .Version }}{{else}}{{ .ShortCommit }}{{end}}{{end}}'
create_flags:
- --insecure
push_flags:
- --insecure
image_templates:
- 'ghcr.io/arkeonetwork/indexer:{{if eq .Env.RELEASE "true"}}v{{ .Version }}-amd64{{else}}{{ .ShortCommit }}-amd64{{end}}'
- 'ghcr.io/arkeonetwork/indexer:{{if eq .Env.RELEASE "true"}}v{{ .Version }}-arm64{{else}}{{ .ShortCommit }}-arm64{{end}}'
- 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer:{{if eq .Env.RELEASE "true"}}v{{ .Version }}-amd64{{else}}{{ .ShortCommit }}-amd64{{end}}'
- 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer:{{if eq .Env.RELEASE "true"}}v{{ .Version }}-arm64{{else}}{{ .ShortCommit }}-arm64{{end}}'
4 changes: 2 additions & 2 deletions releaser/.goreleaser-directory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ dockers:
goarch: amd64
dockerfile: docker/Dockerfile.api
image_templates:
- 'ghcr.io/arkeonetwork/api:{{ if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{ else }}{{ if eq .Env.RELEASE "true" }}v{{ .Version }}-amd64{{ else }}{{ .ShortCommit }}-amd64{{ end }}{{ end }}'
- 'ghcr.io/arkeonetwork/{{ .ProjectName }}/api:{{ if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{ else }}{{ if eq .Env.RELEASE "true" }}v{{ .Version }}-amd64{{ else }}{{ .ShortCommit }}-amd64{{ end }}{{ end }}'
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
Expand All @@ -115,7 +115,7 @@ dockers:
goarch: amd64
dockerfile: docker/Dockerfile.indexer
image_templates:
- 'ghcr.io/arkeonetwork/indexer:{{ if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{ else }}{{ if eq .Env.RELEASE "true" }}v{{ .Version }}-amd64{{ else }}{{ .ShortCommit }}-amd64{{ end }}{{ end }}'
- 'ghcr.io/arkeonetwork/{{ .ProjectName }}/indexer:{{ if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{ else }}{{ if eq .Env.RELEASE "true" }}v{{ .Version }}-amd64{{ else }}{{ .ShortCommit }}-amd64{{ end }}{{ end }}'
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
Expand Down
2 changes: 1 addition & 1 deletion releaser/.goreleaser-sentinel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ dockers:
goarch: amd64
dockerfile: docker/Dockerfile.sentinel
image_templates:
- 'ghcr.io/arkeonetwork/sentinel:{{ if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{ else }}{{ if eq .Env.RELEASE "true" }}v{{ .Env.SENTINEL_VERSION }}-amd64{{ else }}{{ .ShortCommit }}-amd64{{ end }}{{ end }}'
- 'ghcr.io/arkeonetwork/{{ .ProjectName }}/sentinel:{{ if eq .Env.BUILD_TAG "testnet" }}testnet-{{.ShortCommit}}{{ else }}{{ if eq .Env.RELEASE "true" }}v{{ .Env.SENTINEL_VERSION }}-amd64{{ else }}{{ .ShortCommit }}-amd64{{ end }}{{ end }}'
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
Expand Down

0 comments on commit 561ff63

Please sign in to comment.