Skip to content

Commit

Permalink
Make image name depend on github repo name
Browse files Browse the repository at this point in the history
So that forks can also test image publishing.
  • Loading branch information
reegnz committed Sep 20, 2024
1 parent 20969a3 commit 9210a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name: goreleaser

on:
pull_request:
push:
# run only against tags
tags:
Expand Down Expand Up @@ -34,3 +33,4 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }}/${{ github.repository_name }}
3 changes: 1 addition & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ builds:
- arm64

kos:
- repository: ghcr.io/hercynium/istio-fortsa
base_image: gcr.io/distroless/static:nonroot
- base_image: gcr.io/distroless/static:nonroot
tags:
- "{{ .Tag }}"
- latest
Expand Down

0 comments on commit 9210a93

Please sign in to comment.