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 }}