Skip to content

Commit ecc4f40

Browse files
committed
fix: tag was not set properly
1 parent f812eb1 commit ecc4f40

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
env:
1717
PHP_VERSION: ${{ matrix.version }}
18+
TAG: ${{ matrix.version }}${{ matrix.dockerfile == 'Dockerfile.apache' && '-apache' || '' }}
1819
steps:
1920
- name: Checkout
2021
uses: actions/checkout@v2
@@ -37,4 +38,4 @@ jobs:
3738
build-args: |
3839
PHP_VERSION=${{ matrix.version }}
3940
file: ${{ matrix.dockerfile }}
40-
tags: danybmx/php:${{ matrix.version }}-apache
41+
tags: danybmx/php:${{ env.TAG }}

0 commit comments

Comments
 (0)