Skip to content

Commit a729dcb

Browse files
authored
Merge pull request #22 from EventStore/pvanbuijtene/fix-naming-and-publishing
Fix naming and publishing (DB-417)
2 parents c83127e + 4b411c9 commit a729dcb

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Diff for: .github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build
22

3+
permissions:
4+
contents: write
5+
packages: write
6+
37
on:
48
pull_request:
59
push:
@@ -55,7 +59,7 @@ jobs:
5559
uses: docker/metadata-action@v4
5660
with:
5761
images: |
58-
eventstore/es-gencert-cli/es-gencert-cli
62+
ghcr.io/eventstore/es-gencert-cli
5963
tags: |
6064
type=ref,event=branch
6165
type=ref,event=pr
@@ -82,6 +86,6 @@ jobs:
8286
uses: docker/build-push-action@v3
8387
with:
8488
push: ${{ github.event_name != 'pull_request' }}
85-
tags: ${{ steps.meta.outputs.tags }}
89+
tags: ghcr.io/${{ steps.meta.outputs.tags }}
8690
labels: ${{ steps.meta.outputs.labels }}
8791
platforms: linux/amd64,linux/arm64

Diff for: .goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ archives:
2525
name_template: >-
2626
{{- .ProjectName }}_
2727
{{- .Version }}_
28-
{{- title .Os }}_
28+
{{- title .Os }}-
2929
{{- if eq .Arch "amd64" }}x86_64
3030
{{- else if eq .Arch "386" }}i386
3131
{{- else }}{{ .Arch }}{{ end }}

0 commit comments

Comments
 (0)