Skip to content

Commit

Permalink
build: fix image replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
reddec committed Dec 9, 2021
1 parent 1bc466c commit 3881a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project_name: ingress-dashboard
before:
hooks:
- mkdir -p build-temp
- sh -c 'sed "s|IMAGE_TO_REPLACE|ghcr.io/reddec/{{ .ProjectName }}:{{ .Tag }}|g" ingress-dashboard.yaml > build-temp/ingress-dashboard.yaml'
- sh -c 'sed "s|IMAGE_TO_REPLACE|ghcr.io/reddec/{{ .ProjectName }}:{{ .Version }}|g" ingress-dashboard.yaml > build-temp/ingress-dashboard.yaml'
builds:
- env:
- CGO_ENABLED=0
Expand Down

0 comments on commit 3881a1b

Please sign in to comment.