Skip to content

Commit 9210a93

Browse files
committed
Make image name depend on github repo name
So that forks can also test image publishing.
1 parent 20969a3 commit 9210a93

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: goreleaser
33

44
on:
5-
pull_request:
65
push:
76
# run only against tags
87
tags:
@@ -34,3 +33,4 @@ jobs:
3433
args: release --clean
3534
env:
3635
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }}/${{ github.repository_name }}

.goreleaser.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ builds:
2626
- arm64
2727

2828
kos:
29-
- repository: ghcr.io/hercynium/istio-fortsa
30-
base_image: gcr.io/distroless/static:nonroot
29+
- base_image: gcr.io/distroless/static:nonroot
3130
tags:
3231
- "{{ .Tag }}"
3332
- latest

0 commit comments

Comments
 (0)