Skip to content

Commit d58e9c6

Browse files
feat: 优化 node workflow
1 parent 6a74f38 commit d58e9c6

10 files changed

+13
-79
lines changed

.github/workflows/node-release.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- name: Build Node-22 and Push
4242
uses: docker/build-push-action@v5
4343
with:
44-
context: node/22
45-
file: node/22/Dockerfile
44+
context: node
45+
file: node/Dockerfile
4646
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
4747
push: true
4848
build-args:
@@ -56,8 +56,8 @@ jobs:
5656
- name: Build Node-21 and Push
5757
uses: docker/build-push-action@v5
5858
with:
59-
context: node/21
60-
file: node/21/Dockerfile
59+
context: node
60+
file: node/Dockerfile
6161
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
6262
push: true
6363
build-args:
@@ -71,8 +71,8 @@ jobs:
7171
- name: Build Node-20 and Push
7272
uses: docker/build-push-action@v5
7373
with:
74-
context: node/20
75-
file: node/20/Dockerfile
74+
context: node
75+
file: node/Dockerfile
7676
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
7777
push: true
7878
build-args:
@@ -86,8 +86,8 @@ jobs:
8686
- name: Build Node-18 and Push
8787
uses: docker/build-push-action@v5
8888
with:
89-
context: node/18
90-
file: node/18/Dockerfile
89+
context: node
90+
file: node/Dockerfile
9191
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
9292
push: true
9393
build-args:

.github/workflows/php-release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
context: php
5050
file: php/Dockerfile
51-
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
51+
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
5252
push: true
5353
build-args:
5454
PHP_VERSION=${{ github.event.inputs.php74Version }}
@@ -62,7 +62,7 @@ jobs:
6262
with:
6363
context: php
6464
file: php/Dockerfile
65-
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
65+
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
6666
push: true
6767
build-args:
6868
PHP_VERSION=${{ github.event.inputs.php73Version }}
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
context: php
7878
file: php/Dockerfile
79-
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
79+
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
8080
push: true
8181
build-args:
8282
PHP_VERSION=${{ github.event.inputs.php72Version }}
@@ -90,7 +90,7 @@ jobs:
9090
with:
9191
context: php
9292
file: php/Dockerfile
93-
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
93+
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
9494
push: true
9595
build-args:
9696
PHP_VERSION=${{ github.event.inputs.php71Version }}
@@ -104,7 +104,7 @@ jobs:
104104
with:
105105
context: php
106106
file: php/Dockerfile
107-
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
107+
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
108108
push: true
109109
build-args:
110110
PHP_VERSION=${{ github.event.inputs.php70Version }}

node/20/Dockerfile

-11
This file was deleted.

node/20/docker-entrypoint.sh

-11
This file was deleted.

node/21/Dockerfile

-11
This file was deleted.

node/21/docker-entrypoint.sh

-11
This file was deleted.

node/22/Dockerfile

-11
This file was deleted.

node/22/docker-entrypoint.sh

-11
This file was deleted.

node/18/Dockerfile node/Dockerfile

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)