php-fpm: try storing lane in env
Some checks failed
php-fpm-build / lanes (push) Successful in 14s
php-fpm-build / build (push) Failing after 1m1s

This commit is contained in:
Elijah Duffy
2025-12-08 00:27:22 -08:00
parent f13fdb29cc
commit 74671b159f

View File

@@ -97,6 +97,8 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: ${{ fromJson(needs.lanes.outputs.matrix) }} matrix: ${{ fromJson(needs.lanes.outputs.matrix) }}
env:
LANE: ${{ matrix.lane }}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -117,14 +119,14 @@ jobs:
with: with:
images: gitea.auvem.com/auvem/wordpress-docker/php-fpm images: gitea.auvem.com/auvem/wordpress-docker/php-fpm
tags: | tags: |
type=raw,value=${{ matrix.lane }}-stable type=raw,value=${{ env.LANE }}-stable
type=raw,value=${{ matrix.lane }}-${{ github.sha }} type=raw,value=${{ env.LANE }}-${{ github.sha }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
file: ./php-fpm/${{ matrix.lane }}/Dockerfile file: ./php-fpm/${{ env.LANE }}/Dockerfile
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}