You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/php81.yml
+26-7Lines changed: 26 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,26 @@
1
+
#
2
+
name: Build PHP 8.1
3
+
4
+
# Configures this workflow to run every time a release is created.
1
5
on:
2
6
release:
3
7
types:
4
8
- created
5
9
6
-
name: Build PHP 8.1
10
+
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
11
+
env:
12
+
REGISTRY: ghcr.io
13
+
IMAGE_NAME: ${{ github.repository }}
7
14
8
15
jobs:
9
16
build:
10
17
runs-on: ubuntu-latest
18
+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
19
+
permissions:
20
+
contents: read
21
+
packages: write
22
+
attestations: write
23
+
id-token: write
11
24
12
25
strategy:
13
26
matrix:
@@ -30,9 +43,9 @@ jobs:
30
43
- name: Login to GitHub Container Registry
31
44
uses: docker/login-action@v3
32
45
with:
33
-
registry: ghcr.io
34
-
username: ${{ secrets.GHCR_LOGIN }}
35
-
password: ${{ secrets.GHCR_PASSWORD }}
46
+
registry: ${{ env.REGISTRY }}
47
+
username: ${{ github.actor }}
48
+
password: ${{ secrets.GITHUB_TOKEN }}
36
49
37
50
- name: Build and push PHP 8.1
38
51
uses: docker/build-push-action@v2
@@ -47,6 +60,12 @@ jobs:
47
60
48
61
build_xdebug:
49
62
runs-on: ubuntu-latest
63
+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
Copy file name to clipboardExpand all lines: .github/workflows/php82.yml
+26-7Lines changed: 26 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,26 @@
1
+
#
2
+
name: Build PHP 8.2
3
+
4
+
# Configures this workflow to run every time a release is created.
1
5
on:
2
6
release:
3
7
types:
4
8
- created
5
9
6
-
name: Build PHP 8.2
10
+
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
11
+
env:
12
+
REGISTRY: ghcr.io
13
+
IMAGE_NAME: ${{ github.repository }}
7
14
8
15
jobs:
9
16
build:
10
17
runs-on: ubuntu-latest
18
+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
19
+
permissions:
20
+
contents: read
21
+
packages: write
22
+
attestations: write
23
+
id-token: write
11
24
12
25
strategy:
13
26
matrix:
@@ -30,9 +43,9 @@ jobs:
30
43
- name: Login to GitHub Container Registry
31
44
uses: docker/login-action@v3
32
45
with:
33
-
registry: ghcr.io
34
-
username: ${{ secrets.GHCR_LOGIN }}
35
-
password: ${{ secrets.GHCR_PASSWORD }}
46
+
registry: ${{ env.REGISTRY }}
47
+
username: ${{ github.actor }}
48
+
password: ${{ secrets.GITHUB_TOKEN }}
36
49
37
50
- name: Build and push PHP 8.2
38
51
uses: docker/build-push-action@v2
@@ -47,6 +60,12 @@ jobs:
47
60
48
61
build_xdebug:
49
62
runs-on: ubuntu-latest
63
+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
Copy file name to clipboardExpand all lines: .github/workflows/php83.yml
+26-7Lines changed: 26 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,26 @@
1
+
#
2
+
name: Build PHP 8.3
3
+
4
+
# Configures this workflow to run every time a release is created.
1
5
on:
2
6
release:
3
7
types:
4
8
- created
5
9
6
-
name: Build PHP 8.3
10
+
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
11
+
env:
12
+
REGISTRY: ghcr.io
13
+
IMAGE_NAME: ${{ github.repository }}
7
14
8
15
jobs:
9
16
build:
10
17
runs-on: ubuntu-latest
18
+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
19
+
permissions:
20
+
contents: read
21
+
packages: write
22
+
attestations: write
23
+
id-token: write
11
24
12
25
strategy:
13
26
matrix:
@@ -30,9 +43,9 @@ jobs:
30
43
- name: Login to GitHub Container Registry
31
44
uses: docker/login-action@v3
32
45
with:
33
-
registry: ghcr.io
34
-
username: ${{ secrets.GHCR_LOGIN }}
35
-
password: ${{ secrets.GHCR_PASSWORD }}
46
+
registry: ${{ env.REGISTRY }}
47
+
username: ${{ github.actor }}
48
+
password: ${{ secrets.GITHUB_TOKEN }}
36
49
37
50
- name: Build and push PHP 8.3
38
51
uses: docker/build-push-action@v2
@@ -47,6 +60,12 @@ jobs:
47
60
48
61
build_xdebug:
49
62
runs-on: ubuntu-latest
63
+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
Copy file name to clipboardExpand all lines: .github/workflows/php84.yml
+26-7Lines changed: 26 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,26 @@
1
+
#
2
+
name: Build PHP 8.4
3
+
4
+
# Configures this workflow to run every time a release is created.
1
5
on:
2
6
release:
3
7
types:
4
8
- created
5
9
6
-
name: Build PHP 8.4
10
+
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
11
+
env:
12
+
REGISTRY: ghcr.io
13
+
IMAGE_NAME: ${{ github.repository }}
7
14
8
15
jobs:
9
16
build:
10
17
runs-on: ubuntu-latest
18
+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
19
+
permissions:
20
+
contents: read
21
+
packages: write
22
+
attestations: write
23
+
id-token: write
11
24
12
25
strategy:
13
26
matrix:
@@ -30,9 +43,9 @@ jobs:
30
43
- name: Login to GitHub Container Registry
31
44
uses: docker/login-action@v3
32
45
with:
33
-
registry: ghcr.io
34
-
username: ${{ secrets.GHCR_LOGIN }}
35
-
password: ${{ secrets.GHCR_PASSWORD }}
46
+
registry: ${{ env.REGISTRY }}
47
+
username: ${{ github.actor }}
48
+
password: ${{ secrets.GITHUB_TOKEN }}
36
49
37
50
- name: Build and push PHP 8.4
38
51
uses: docker/build-push-action@v2
@@ -47,6 +60,12 @@ jobs:
47
60
48
61
build_xdebug:
49
62
runs-on: ubuntu-latest
63
+
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
0 commit comments