Skip to content

Commit dd03575

Browse files
committed
Fixing Docker login
1 parent d0a687f commit dd03575

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.github/workflows/php81.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: Build PHP 8.1
33

44
# Configures this workflow to run every time a release is created.
55
on:
6-
push:
76
release:
87
types:
98
- created
@@ -90,7 +89,7 @@ jobs:
9089
uses: docker/login-action@v3
9190
with:
9291
registry: ${{ env.REGISTRY }}
93-
username: ${{ github.actor }}
92+
username: ${{ github.repository_owner }}
9493
password: ${{ secrets.GITHUB_TOKEN }}
9594

9695
- name: Build and push PHP 8.1 with Xdebug

.github/workflows/php82.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: docker/login-action@v3
4545
with:
4646
registry: ${{ env.REGISTRY }}
47-
username: ${{ github.actor }}
47+
username: ${{ github.repository_owner }}
4848
password: ${{ secrets.GITHUB_TOKEN }}
4949

5050
- name: Build and push PHP 8.2
@@ -89,7 +89,7 @@ jobs:
8989
uses: docker/login-action@v3
9090
with:
9191
registry: ${{ env.REGISTRY }}
92-
username: ${{ github.actor }}
92+
username: ${{ github.repository_owner }}
9393
password: ${{ secrets.GITHUB_TOKEN }}
9494

9595
- name: Build and push PHP 8.2 with Xdebug

.github/workflows/php83.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: docker/login-action@v3
4545
with:
4646
registry: ${{ env.REGISTRY }}
47-
username: ${{ github.actor }}
47+
username: ${{ github.repository_owner }}
4848
password: ${{ secrets.GITHUB_TOKEN }}
4949

5050
- name: Build and push PHP 8.3
@@ -89,7 +89,7 @@ jobs:
8989
uses: docker/login-action@v3
9090
with:
9191
registry: ${{ env.REGISTRY }}
92-
username: ${{ github.actor }}
92+
username: ${{ github.repository_owner }}
9393
password: ${{ secrets.GITHUB_TOKEN }}
9494

9595
- name: Build and push PHP 8.3 with Xdebug

.github/workflows/php84.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: docker/login-action@v3
4545
with:
4646
registry: ${{ env.REGISTRY }}
47-
username: ${{ github.actor }}
47+
username: ${{ github.repository_owner }}
4848
password: ${{ secrets.GITHUB_TOKEN }}
4949

5050
- name: Build and push PHP 8.4
@@ -89,7 +89,7 @@ jobs:
8989
uses: docker/login-action@v3
9090
with:
9191
registry: ${{ env.REGISTRY }}
92-
username: ${{ github.actor }}
92+
username: ${{ github.repository_owner }}
9393
password: ${{ secrets.GITHUB_TOKEN }}
9494

9595
- name: Build and push PHP 8.4 with Xdebug

0 commit comments

Comments
 (0)