mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-06 03:10:50 +00:00
parent
c6bf799da4
commit
85298cfff7
11
.github/workflows/publish_docker_images.yaml
vendored
11
.github/workflows/publish_docker_images.yaml
vendored
|
@ -4,7 +4,6 @@ on:
|
|||
# Publish `master` as Docker `latest` image.
|
||||
branches:
|
||||
- master
|
||||
- experimental-scoped
|
||||
|
||||
# Publish `v1.2.3` tags as releases.
|
||||
tags:
|
||||
|
@ -44,6 +43,16 @@ jobs:
|
|||
--tag rector/rector:$VERSION-php${{ matrix.php-version }} \
|
||||
--build-arg PHP_VERSION=${{ matrix.php-version }} .
|
||||
|
||||
- name: Extra tagging images
|
||||
run: |
|
||||
# For master build create php version tag etc: rector/rector:php8.0
|
||||
[ "$VERSION" == "latest" ] && docker tag rector/rector:$VERSION-php${{ matrix.php-version }} rector/rector:php${{ matrix.php-version }}
|
||||
|
||||
# For php 8.0 create ref tag etc: rector/rector:0.9.31
|
||||
[ "${{ matrix.php-version }}" == "8.0" ] && docker tag rector/rector:$VERSION-php${{ matrix.php-version }} rector/rector:$VERSION
|
||||
|
||||
docker push rector/rector -a
|
||||
|
||||
- name: Build Rector "secured"
|
||||
if: matrix.php-version == '8.0'
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user