Skip to content

Commit ae13344

Browse files
committed
Try logging in as repository_owner
1 parent de9f879 commit ae13344

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
2424
- name: Login to GitHub Container Registry
25-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${DOCKER_REGISTRY} -u ${{ github.actor }} --password-stdin
25+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${DOCKER_REGISTRY} -u ${{ github.repository_owner }} --password-stdin
2626
- name: Determine the Docker image name.
2727
run: |
2828
# Convert the repository name to lowercase as the organization name is
@@ -59,7 +59,7 @@ jobs:
5959
- name: Checkout repository
6060
uses: actions/checkout@v4
6161
- name: Login to GitHub Container Registry
62-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${DOCKER_REGISTRY} -u ${{ github.actor }} --password-stdin
62+
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${DOCKER_REGISTRY} -u ${{ github.repository_owner }} --password-stdin
6363
- name: Determine the Docker image name.
6464
run: |
6565
# Convert the repository name to lowercase as the organization name is

0 commit comments

Comments
 (0)