From 74671b159f20cdbe6019b7c1fb1281dec241819a Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Mon, 8 Dec 2025 00:27:22 -0800 Subject: [PATCH] php-fpm: try storing lane in env --- .github/workflows/php-fpm.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php-fpm.yml b/.github/workflows/php-fpm.yml index 4a0eefb..2ba45ac 100644 --- a/.github/workflows/php-fpm.yml +++ b/.github/workflows/php-fpm.yml @@ -97,6 +97,8 @@ jobs: strategy: fail-fast: false matrix: ${{ fromJson(needs.lanes.outputs.matrix) }} + env: + LANE: ${{ matrix.lane }} steps: - name: Checkout repository uses: actions/checkout@v4 @@ -117,14 +119,14 @@ jobs: with: images: gitea.auvem.com/auvem/wordpress-docker/php-fpm tags: | - type=raw,value=${{ matrix.lane }}-stable - type=raw,value=${{ matrix.lane }}-${{ github.sha }} + type=raw,value=${{ env.LANE }}-stable + type=raw,value=${{ env.LANE }}-${{ github.sha }} - name: Build and push Docker image uses: docker/build-push-action@v6 with: context: . - file: ./php-fpm/${{ matrix.lane }}/Dockerfile + file: ./php-fpm/${{ env.LANE }}/Dockerfile push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}