1616builds :
1717 - id : parrot
1818 main : ./cmd/main.go
19+ ldflags :
20+ - -s
21+ - -w
22+ - -X github.com/smartcontractkit/chainlink-testing-framework/parrot.version={{.Version}}
23+ - -X github.com/smartcontractkit/chainlink-testing-framework/parrot.commit={{.ShortCommit}}
24+ - -X github.com/smartcontractkit/chainlink-testing-framework/parrot.date={{.CommitDate}}
25+ - -X github.com/smartcontractkit/chainlink-testing-framework/parrot.builtBy=goreleaser
1926 goos :
2027 - linux
2128 - darwin
@@ -34,6 +41,8 @@ dockers:
3441 image_templates :
3542 - ' {{ .Env.IMG_PRE }}/parrot:{{ .Tag }}-amd64'
3643 - ' {{ .Env.IMG_PRE }}/parrot:latest-amd64'
44+ - ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:{{ .Tag }}-amd64{{ end }}'
45+ - ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:latest-amd64{{ end }}'
3746 build_flag_templates :
3847 - --platform=linux/amd64
3948 - --pull
@@ -47,6 +56,8 @@ dockers:
4756 image_templates :
4857 - ' {{ .Env.IMG_PRE }}/parrot:{{ .Tag }}-arm64'
4958 - ' {{ .Env.IMG_PRE }}/parrot:latest-arm64'
59+ - ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:{{ .Tag }}-arm64{{ end }}'
60+ - ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:latest-arm64{{ end }}'
5061 build_flag_templates :
5162 - --platform=linux/arm64
5263 - --pull
@@ -64,6 +75,14 @@ docker_manifests:
6475 image_templates :
6576 - ' {{ .Env.IMG_PRE }}/parrot:latest-amd64'
6677 - ' {{ .Env.IMG_PRE }}/parrot:latest-arm64'
78+ - name_template : ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:{{ .Tag }}{{ end }}'
79+ image_templates :
80+ - ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:{{ .Tag }}-amd64{{ end }}'
81+ - ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:{{ .Tag }}-arm64{{ end }}'
82+ - name_template : ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:latest{{ end }}'
83+ image_templates :
84+ - ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:latest-amd64{{ end }}'
85+ - ' {{ if ne .Env.IMG_PRE "local" }}{{ .Env.DOCKER_USER }}/parrot:latest-arm64{{ end }}'
6786
6887before :
6988 hooks :
0 commit comments