Skip to content

Commit 25aeb2e

Browse files
committed
ci: Update goreleaser config for containers
1 parent 18a842e commit 25aeb2e

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

.github/workflows/tag-new-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: mathieudutour/[email protected]
1616
continue-on-error: true # ok to not make a new tag
1717
with:
18-
# Special PAT so that we trigger new workflows
18+
# Special PAT so that we trigger new workflows, that has contents:write only
1919
github_token: ${{ secrets.TAG_TOKEN }}
2020
create_annotated_tag: true
2121
custom_release_rules: ci:none,chore:none,style:none

.goreleaser.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,47 +32,45 @@ release:
3232
github:
3333
name_template: v{{.Version}}
3434
dockers:
35-
- image_templates: ["ghcr.io/google/{{ .ProjectName }}:{{ .Version }}-amd64"]
35+
- image_templates: ["ghcr.io/jaqx0r/{{ .ProjectName }}:{{ .Version }}-amd64"]
3636
dockerfile: Dockerfile.goreleaser
3737
use: buildx
3838
build_flag_templates:
3939
- --platform=linux/amd64
40-
- --label=org.opencontainers.image.ref.name="google/mtail"
40+
- --label=org.opencontainers.image.ref.name="jaqx0r/mtail"
4141
- --label=org.opencontainers.image.authors="Jamie Wilkinson (@jaqx0r)"
4242
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
4343
- --label=org.opencontainers.image.description="extract internal monitoring data from application logs for collection in a timeseries database"
44-
- --label=org.opencontainers.image.documentation="https://google.github.io/mtail/"
44+
- --label=org.opencontainers.image.documentation="https://jaqx0r.github.io/mtail/"
4545
- --label=org.opencontainers.image.licenses="Apache-2.0"
4646
- --label=org.opencontainers.image.revision={{ .FullCommit }}
47-
- --label=org.opencontainers.image.source=https://github.com/google/{{ .ProjectName }}
47+
- --label=org.opencontainers.image.source=https://github.com/jaqx0r/{{ .ProjectName }}
4848
- --label=org.opencontainers.image.title={{ .ProjectName }}
49-
- --label=org.opencontainers.image.url=https://github.com/google/{{ .ProjectName }}
50-
- --label=org.opencontainers.image.vendor="Google"
49+
- --label=org.opencontainers.image.url=https://github.com/jaqx0r/{{ .ProjectName }}
5150
- --label=org.opencontainers.image.version={{ .Version }}
52-
- image_templates: ["ghcr.io/google/{{ .ProjectName }}:{{ .Version }}-arm64v8"]
51+
- image_templates: ["ghcr.io/jaqx0r/{{ .ProjectName }}:{{ .Version }}-arm64v8"]
5352
goarch: arm64
5453
dockerfile: Dockerfile.goreleaser
5554
use: buildx
5655
build_flag_templates:
5756
- --platform=linux/arm64/v8
58-
- --label=org.opencontainers.image.ref.name="google/mtail"
57+
- --label=org.opencontainers.image.ref.name="jaqx0r/mtail"
5958
- --label=org.opencontainers.image.authors="Jamie Wilkinson (@jaqx0r)"
6059
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
6160
- --label=org.opencontainers.image.description="extract internal monitoring data from application logs for collection in a timeseries database"
62-
- --label=org.opencontainers.image.documentation="https://google.github.io/mtail/"
61+
- --label=org.opencontainers.image.documentation="https://jaqx0r.github.io/mtail/"
6362
- --label=org.opencontainers.image.licenses="Apache-2.0"
6463
- --label=org.opencontainers.image.revision={{ .FullCommit }}
65-
- --label=org.opencontainers.image.source=https://github.com/google/{{ .ProjectName }}
64+
- --label=org.opencontainers.image.source=https://github.com/jaqx0r/{{ .ProjectName }}
6665
- --label=org.opencontainers.image.title={{ .ProjectName }}
67-
- --label=org.opencontainers.image.url=https://github.com/google/{{ .ProjectName }}
68-
- --label=org.opencontainers.image.vendor="Google"
66+
- --label=org.opencontainers.image.url=https://github.com/jaqx0r/{{ .ProjectName }}
6967
- --label=org.opencontainers.image.version={{ .Version }}
7068
docker_manifests:
71-
- name_template: ghcr.io/google/{{ .ProjectName }}:{{ .Version }}
69+
- name_template: ghcr.io/jaqx0r/{{ .ProjectName }}:{{ .Version }}
7270
image_templates:
73-
- ghcr.io/google/{{ .ProjectName }}:{{ .Version }}-amd64
74-
- ghcr.io/google/{{ .ProjectName }}:{{ .Version }}-arm64v8
75-
- name_template: ghcr.io/google/{{ .ProjectName }}:latest
71+
- ghcr.io/jaqx0r/{{ .ProjectName }}:{{ .Version }}-amd64
72+
- ghcr.io/jaqx0r/{{ .ProjectName }}:{{ .Version }}-arm64v8
73+
- name_template: ghcr.io/jaqx0r/{{ .ProjectName }}:latest
7674
image_templates:
77-
- ghcr.io/google/{{ .ProjectName }}:{{ .Version }}-amd64
78-
- ghcr.io/google/{{ .ProjectName }}:{{ .Version }}-arm64v8
75+
- ghcr.io/jaqx0r/{{ .ProjectName }}:{{ .Version }}-amd64
76+
- ghcr.io/jaqx0r/{{ .ProjectName }}:{{ .Version }}-arm64v8

0 commit comments

Comments
 (0)