Skip to content

Commit

Permalink
feat: move to reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed May 16, 2023
1 parent 1b2a677 commit 2be2b4d
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@ jobs:
os_name: ["alpine"]
php_version: ["8.1", "8.2"]
php_type: ["fpm", "cli", "supervisord"]
uses: wayofdev/gh-actions/.github/workflows/build-image.yml@master
with:
os: "ubuntu-latest"
push-to-hub: ${{ github.event_name != 'pull_request' }}
image-namespace: "wayofdev/php-base"
image-template: ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }}
image-version: latest
secrets:
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_TOKEN }}

steps:
- name: 🚀 Build
uses: wayofdev/gh-actions/.github/workflows/build-image.yml@master
with:
os: "ubuntu-latest"
push-to-hub: ${{ github.event_name != 'pull_request' }}
image-namespace: "wayofdev/php-base"
image-template: ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }}
image-version: latest
secrets:
docker-username: ${{ secrets.DOCKER_USERNAME }}
docker-password: ${{ secrets.DOCKER_TOKEN }}

...

0 comments on commit 2be2b4d

Please sign in to comment.