php-fpm: try storing lane in env
This commit is contained in:
8
.github/workflows/php-fpm.yml
vendored
8
.github/workflows/php-fpm.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user