aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/docker.yml
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-03-24 17:08:17 +0000
committerGitHub <noreply@github.com>2022-03-24 17:08:17 +0000
commit9a727416eb33d2b80e65b331abccd369ded53d3a (patch)
tree0e1cf3279333c136d09f6780bff0e05b2a9979c8 /.github/workflows/docker.yml
parent398aae112cd4d139b60e96fc81e0463cce45fcaf (diff)
Use `github.actor` for GHCR upload
Diffstat (limited to '.github/workflows/docker.yml')
-rw-r--r--.github/workflows/docker.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 7bcefb9d..2c5d9e5e 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -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