Skip to content

Commit

Permalink
feat: 优化 node workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 committed Aug 16, 2024
1 parent 6a74f38 commit fe86e8d
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 79 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/node-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- name: Build Node-22 and Push
uses: docker/build-push-action@v5
with:
context: node/22
file: node/22/Dockerfile
context: node
file: node/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
push: true
build-args:
Expand All @@ -56,8 +56,8 @@ jobs:
- name: Build Node-21 and Push
uses: docker/build-push-action@v5
with:
context: node/21
file: node/21/Dockerfile
context: node
file: node/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
push: true
build-args:
Expand All @@ -71,8 +71,8 @@ jobs:
- name: Build Node-20 and Push
uses: docker/build-push-action@v5
with:
context: node/20
file: node/20/Dockerfile
context: node
file: node/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
push: true
build-args:
Expand All @@ -86,8 +86,8 @@ jobs:
- name: Build Node-18 and Push
uses: docker/build-push-action@v5
with:
context: node/18
file: node/18/Dockerfile
context: node
file: node/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
push: true
build-args:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/php-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
context: php
file: php/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
push: true
build-args:
PHP_VERSION=${{ github.event.inputs.php74Version }}
Expand All @@ -62,7 +62,7 @@ jobs:
with:
context: php
file: php/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
push: true
build-args:
PHP_VERSION=${{ github.event.inputs.php73Version }}
Expand All @@ -76,7 +76,7 @@ jobs:
with:
context: php
file: php/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
push: true
build-args:
PHP_VERSION=${{ github.event.inputs.php72Version }}
Expand All @@ -90,7 +90,7 @@ jobs:
with:
context: php
file: php/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
push: true
build-args:
PHP_VERSION=${{ github.event.inputs.php71Version }}
Expand All @@ -104,7 +104,7 @@ jobs:
with:
context: php
file: php/Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/s390x
push: true
build-args:
PHP_VERSION=${{ github.event.inputs.php70Version }}
Expand Down
11 changes: 0 additions & 11 deletions node/20/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions node/20/docker-entrypoint.sh

This file was deleted.

11 changes: 0 additions & 11 deletions node/21/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions node/21/docker-entrypoint.sh

This file was deleted.

11 changes: 0 additions & 11 deletions node/22/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions node/22/docker-entrypoint.sh

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit fe86e8d

Please sign in to comment.