|
1 | 1 | version: 2 |
2 | 2 |
|
3 | | -env: |
4 | | - - GITHUB_REPOSITORY={{ if index .Env "GITHUB_REPOSITORY" }}{{ .Env.GITHUB_REPOSITORY }}{{ else }}temporalio/temporal-worker-controller{{ end }} |
5 | | - |
6 | 3 | before: |
7 | 4 | hooks: |
8 | 5 | - go mod download |
@@ -33,44 +30,44 @@ builds: |
33 | 30 | checksum: |
34 | 31 | disable: true |
35 | 32 |
|
36 | | -# Only build Docker images with 'latest' tag |
| 33 | +# Only build Docker images with 'main' tag |
37 | 34 | dockers: |
38 | 35 | - image_templates: |
39 | | - - "temporaliotest/temporal-worker-controller:latest-amd64" |
| 36 | + - "temporalio/temporal-worker-controller:main-amd64" |
40 | 37 | dockerfile: Dockerfile.goreleaser |
41 | 38 | use: buildx |
42 | 39 | build_flag_templates: |
43 | 40 | - --platform=linux/amd64 |
44 | 41 | - --label=org.opencontainers.image.title={{ .ProjectName }} |
45 | 42 | - --label=org.opencontainers.image.description=Temporal Worker Controller for Kubernetes |
46 | | - - --label=org.opencontainers.image.url=https://github.com/{{ .Env.GITHUB_REPOSITORY }} |
47 | | - - --label=org.opencontainers.image.source=https://github.com/{{ .Env.GITHUB_REPOSITORY }} |
48 | | - - --label=org.opencontainers.image.version=latest |
| 43 | + - --label=org.opencontainers.image.url=https://github.com/temporalio/temporal-worker-controller |
| 44 | + - --label=org.opencontainers.image.source=https://github.com/temporalio/temporal-worker-controller |
| 45 | + - --label=org.opencontainers.image.version=main |
49 | 46 | - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }} |
50 | 47 | - --label=org.opencontainers.image.revision={{ .FullCommit }} |
51 | 48 | - --label=org.opencontainers.image.licenses=MIT |
52 | 49 | extra_files: |
53 | 50 | - LICENSE |
54 | 51 |
|
55 | 52 | - image_templates: |
56 | | - - "temporaliotest/temporal-worker-controller:latest-arm64" |
| 53 | + - "temporalio/temporal-worker-controller:main-arm64" |
57 | 54 | dockerfile: Dockerfile.goreleaser |
58 | 55 | use: buildx |
59 | 56 | build_flag_templates: |
60 | 57 | - --platform=linux/arm64 |
61 | 58 | - --label=org.opencontainers.image.title={{ .ProjectName }} |
62 | 59 | - --label=org.opencontainers.image.description=Temporal Worker Controller for Kubernetes |
63 | | - - --label=org.opencontainers.image.url=https://github.com/{{ .Env.GITHUB_REPOSITORY }} |
64 | | - - --label=org.opencontainers.image.source=https://github.com/{{ .Env.GITHUB_REPOSITORY }} |
65 | | - - --label=org.opencontainers.image.version=latest |
| 60 | + - --label=org.opencontainers.image.url=https://github.com/temporalio/temporal-worker-controller |
| 61 | + - --label=org.opencontainers.image.source=https://github.com/temporalio/temporal-worker-controller |
| 62 | + - --label=org.opencontainers.image.version=main |
66 | 63 | - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }} |
67 | 64 | - --label=org.opencontainers.image.revision={{ .FullCommit }} |
68 | 65 | - --label=org.opencontainers.image.licenses=MIT |
69 | 66 | extra_files: |
70 | 67 | - LICENSE |
71 | 68 |
|
72 | 69 | docker_manifests: |
73 | | - - name_template: "temporaliotest/temporal-worker-controller:latest" |
| 70 | + - name_template: "temporalio/temporal-worker-controller:main" |
74 | 71 | image_templates: |
75 | | - - "temporaliotest/temporal-worker-controller:latest-amd64" |
76 | | - - "temporaliotest/temporal-worker-controller:latest-arm64" |
| 72 | + - "temporalio/temporal-worker-controller:main-amd64" |
| 73 | + - "temporalio/temporal-worker-controller:main-arm64" |
0 commit comments