feat: support to set an alternative image owner (#164)

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
This commit is contained in:
Rick 2023-01-25 08:26:53 +08:00 committed by GitHub
parent ee7c498580
commit 9860cde144
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 8 deletions

View file

@ -41,6 +41,7 @@ jobs:
- name: goreleaser
run: |
echo "${{ github.token }}" | docker login https://ghcr.io -u ${GITHUB_ACTOR} --password-stdin
make release
GITHUB_ACTOR=$(echo ${GITHUB_ACTOR} | tr '[:upper:]' '[:lower:]')
GIT_OWNER=${GITHUB_ACTOR} make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}