Skip to content

Commit 2be2b4d

Browse files
committed
feat: move to reusable workflow
1 parent 1b2a677 commit 2be2b4d

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/build-latest.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,18 @@ jobs:
2020
os_name: ["alpine"]
2121
php_version: ["8.1", "8.2"]
2222
php_type: ["fpm", "cli", "supervisord"]
23-
uses: wayofdev/gh-actions/.github/workflows/build-image.yml@master
24-
with:
25-
os: "ubuntu-latest"
26-
push-to-hub: ${{ github.event_name != 'pull_request' }}
27-
image-namespace: "wayofdev/php-base"
28-
image-template: ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }}
29-
image-version: latest
30-
secrets:
31-
docker-username: ${{ secrets.DOCKER_USERNAME }}
32-
docker-password: ${{ secrets.DOCKER_TOKEN }}
23+
24+
steps:
25+
- name: 🚀 Build
26+
uses: wayofdev/gh-actions/.github/workflows/build-image.yml@master
27+
with:
28+
os: "ubuntu-latest"
29+
push-to-hub: ${{ github.event_name != 'pull_request' }}
30+
image-namespace: "wayofdev/php-base"
31+
image-template: ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }}
32+
image-version: latest
33+
secrets:
34+
docker-username: ${{ secrets.DOCKER_USERNAME }}
35+
docker-password: ${{ secrets.DOCKER_TOKEN }}
3336

3437
...

0 commit comments

Comments
 (0)