Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/build-zts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
build-and-push:
name: Build PHP v${{ matrix.version }}
needs: generate-matrix
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
if: needs.generate-matrix.outputs.matrix != '{"include":[]}'
strategy:
fail-fast: false
Expand All @@ -69,18 +69,18 @@ jobs:
- uses: actions/checkout@v6

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: useblacksmith/setup-docker-builder@v1

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ghcr.io/${{ github.repository_owner }}/php-fpm-zts
tags: |
Expand All @@ -89,16 +89,14 @@ jobs:

- name: Build and push Docker image
id: build
uses: docker/build-push-action@v6
uses: useblacksmith/build-push-action@v2
with:
context: ./${{ matrix.directory }}
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/php-fpm-zts:${{ matrix.version }}
ghcr.io/${{ github.repository_owner }}/php-fpm-zts:${{ matrix.patch }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Image digest
run: echo ${{ steps.build.outputs.digest }}
2 changes: 1 addition & 1 deletion .github/workflows/verify-templating.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
name: Check For Uncomitted Changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: ./apply-templates.sh
- run: git diff --exit-code