Skip to content

Commit

Permalink
moved to global suffix
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Sickert <[email protected]>
  • Loading branch information
Lapotor committed Dec 12, 2023
1 parent 19bc417 commit 61a2903
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ jobs:
uses: docker/metadata-action@31cebacef4805868f9ce9a0cb03ee36c32df2ac4 # v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
suffix=-php${{ matrix.php-version }}
tags: |
type=ref,event=branch,suffix=-php${{ matrix.php-version }}
type=semver,pattern={{version}},suffix=-php${{ matrix.php-version }}
type=semver,pattern={{major}}.{{minor}},suffix=-php${{ matrix.php-version }}
type=sha,format=long,suffix=-php${{ matrix.php-version }}
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha,format=long
- name: Build and push Docker image
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5
Expand Down

0 comments on commit 61a2903

Please sign in to comment.