Fix name of Docker image (#5726)

This commit is contained in:
Jan Mikeš 2021-03-02 14:31:45 +01:00 committed by GitHub
parent ff93a759e6
commit 66f6b4a573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,11 +37,11 @@ jobs:
docker buildx create --name builder-php${{ matrix.php-version }} --use
docker buildx build \
--progress plain \
--cache-from=$GITHUB_REPOSITORY:build-cache-php${{ matrix.php-version }} \
--cache-to=type=registry,ref=$GITHUB_REPOSITORY:build-cache-php${{ matrix.php-version }},mode=max,push=true \
--cache-from=rector/rector:build-cache-php${{ matrix.php-version }} \
--cache-to=type=registry,ref=rector/rector:build-cache-php${{ matrix.php-version }},mode=max,push=true \
--target rector \
--push \
--tag $GITHUB_REPOSITORY:$VERSION-php${{ matrix.php-version }} \
--tag rector/rector:$VERSION-php${{ matrix.php-version }} \
--build-arg PHP_VERSION=${{ matrix.php-version }} .
- name: Build Rector "secured"
@ -49,8 +49,8 @@ jobs:
run: |
docker buildx build \
--progress plain \
--cache-from=$GITHUB_REPOSITORY:build-cache-php${{ matrix.php-version }} \
--cache-from=rector/rector:build-cache-php${{ matrix.php-version }} \
--target rector-secured \
--push \
--tag $GITHUB_REPOSITORY:secured \
--tag rector/rector:secured \
--build-arg PHP_VERSION=${{ matrix.php-version }} .