Use github.actor for GHCR upload

This commit is contained in:
Neil Alexander 2022-03-24 17:08:17 +00:00 committed by GitHub
parent 398aae112c
commit 9a727416eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# Based on https://github.com/docker/build-push-action
name: "Docker Hub"
name: "Docker"
on:
release: # A GitHub release was published
@ -40,7 +40,7 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build monolith image
@ -99,7 +99,7 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build polylith image