Skip to content

Commit

Permalink
ci: 更新 github actions 插件版本
Browse files Browse the repository at this point in the history
  • Loading branch information
suyar committed Jul 10, 2023
1 parent 27fe9cd commit e2c5bd7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-auxiliary-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ jobs:
uses: actions/checkout@v2

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push ${{ matrix.version }}-cli-supervisor
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./auxiliary/${{ matrix.version }}-cli-supervisor
push: true
tags: |
suyar/php:${{ matrix.version }}-cli-supervisor
- name: Build and push ${{ matrix.version }}-cli-alpine-supervisor
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./auxiliary/${{ matrix.version }}-cli-supervisor
file: ./auxiliary/${{ matrix.version }}-cli-supervisor/Dockerfile-alpine
Expand All @@ -53,15 +53,15 @@ jobs:
suyar/php:${{ matrix.version }}-cli-alpine-supervisor
- name: Build and push ${{ matrix.version }}-cli-cron
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./auxiliary/${{ matrix.version }}-cli-cron
push: true
tags: |
suyar/php:${{ matrix.version }}-cli-cron
- name: Build and push ${{ matrix.version }}-cli-alpine-cron
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./auxiliary/${{ matrix.version }}-cli-cron
file: ./auxiliary/${{ matrix.version }}-cli-cron/Dockerfile-alpine
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-integration-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ jobs:
uses: actions/checkout@v2

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push ${{ matrix.version }}-integration
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./integration/${{ matrix.version }}-integration
push: true
tags: |
suyar/php:${{ matrix.version }}-integration
- name: Build and push ${{ matrix.version }}-alpine-integration
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./integration/${{ matrix.version }}-integration
file: ./integration/${{ matrix.version }}-integration/Dockerfile-alpine
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-php-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,29 @@ jobs:
uses: actions/checkout@v2

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push ${{ matrix.version }}-cli
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./php/${{ matrix.version }}-cli
push: true
tags: |
suyar/php:${{ matrix.version }}-cli
- name: Build and push ${{ matrix.version }}-fpm
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./php/${{ matrix.version }}-fpm
push: true
tags: |
suyar/php:${{ matrix.version }}-fpm
- name: Build and push ${{ matrix.version }}-cli-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./php/${{ matrix.version }}-cli
file: ./php/${{ matrix.version }}-cli/Dockerfile-alpine
Expand All @@ -61,7 +61,7 @@ jobs:
suyar/php:${{ matrix.version }}-cli-alpine
- name: Build and push ${{ matrix.version }}-fpm-alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./php/${{ matrix.version }}-fpm
file: ./php/${{ matrix.version }}-fpm/Dockerfile-alpine
Expand Down

0 comments on commit e2c5bd7

Please sign in to comment.