Skip to content

Commit

Permalink
chore(docker): add docker image tags (#170)
Browse files Browse the repository at this point in the history
Add docker image tags in go-releaser config

Before:
<img width="684" alt="Screenshot 2024-01-24 at 17 24 16"
src="https://github.com/omni-network/omni/assets/441740/433632cc-5258-4e27-b6d8-f05921af6fe9">

After:
<img width="659" alt="Screenshot 2024-01-24 at 17 25 01"
src="https://github.com/omni-network/omni/assets/441740/122b530c-2ca5-4ee9-bbc5-1270c9a269dc">

task: https://app.asana.com/0/1201980002255967/1206434523329322/f

---------

Signed-off-by: Pavel Nikolov <me@pavelnikolov.net>
  • Loading branch information
pavelnikolov authored Jan 29, 2024
1 parent 17bfcee commit b5f25ac
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,30 @@ dockers:
- ids: [halo]
dockerfile: ./halo/Dockerfile
image_templates:
- omniops/halo:latest
- omniops/halo:{{ .ShortCommit }}
- omniops/halo:{{ if .IsSnapshot }}main{{ else }}latest{{ end }}
- omniops/halo:{{ if .IsSnapshot }}main{{ else }}{{.Tag}}{{ end }}

- ids: [relayer]
dockerfile: ./relayer/Dockerfile
image_templates:
- omniops/relayer:latest
- omniops/relayer:{{ .ShortCommit }}
- omniops/relayer:{{ if .IsSnapshot }}main{{ else }}latest{{ end }}
- omniops/relayer:{{ if .IsSnapshot }}main{{ else }}{{.Tag}}{{ end }}

- ids: [explorer-api]
dockerfile: ./explorer/api/Dockerfile
image_templates:
- omniops/explorer-api:latest
- omniops/explorer-api:{{ .ShortCommit }}
- omniops/explorer-api:{{ if .IsSnapshot }}main{{ else }}latest{{ end }}
- omniops/explorer-api:{{ if .IsSnapshot }}main{{ else }}{{.Tag}}{{ end }}

- ids: [explorer-indexer]
dockerfile: ./explorer/indexer/Dockerfile
image_templates:
- omniops/explorer-indexer:latest
- omniops/explorer-indexer:{{ .ShortCommit }}
- omniops/explorer-indexer:{{ if .IsSnapshot }}main{{ else }}latest{{ end }}
- omniops/explorer-indexer:{{ if .IsSnapshot }}main{{ else }}{{.Tag}}{{ end }}

archives:
- format: tar.gz
Expand Down

0 comments on commit b5f25ac

Please sign in to comment.