Skip to content

Commit

Permalink
Merge pull request #59 from flownative/task/add-php-8.4
Browse files Browse the repository at this point in the history
Add PHP 8.4 to docker.build.yaml
  • Loading branch information
kdambekalns authored Dec 10, 2024
2 parents 31e2a49 + cbc3f38 commit 859d417
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/docker.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Determine latest built Beach PHP 8.1 version
id: latest_php_81_version
uses: flownative/action-docker-get-label@master
uses: flownative/action-docker-get-label@v1
with:
image: europe-docker.pkg.dev/flownative/docker/beach-php:8.1
label: org.opencontainers.image.version
Expand All @@ -26,7 +26,7 @@ jobs:

- name: Determine latest built Beach PHP 8.2 version
id: latest_php_82_version
uses: flownative/action-docker-get-label@master
uses: flownative/action-docker-get-label@v1
with:
image: europe-docker.pkg.dev/flownative/docker/beach-php:8.2
label: org.opencontainers.image.version
Expand All @@ -36,22 +36,34 @@ jobs:

- name: Determine latest built Beach PHP 8.3 version
id: latest_php_83_version
uses: flownative/action-docker-get-label@master
uses: flownative/action-docker-get-label@v1
with:
image: europe-docker.pkg.dev/flownative/docker/beach-php:8.3
label: org.opencontainers.image.version
registry_endpoint: https://europe-docker.pkg.dev
registry_username: '_json_key'
registry_password: ${{ secrets.GOOGLE_ARTIFACTS_PASSWORD_DOCKER }}

- name: Determine latest built Beach PHP 8.4 version
id: latest_php_84_version
uses: flownative/action-docker-get-label@v1
with:
image: europe-docker.pkg.dev/flownative/docker/beach-php:8.4
label: org.opencontainers.image.version
registry_endpoint: https://europe-docker.pkg.dev
registry_username: '_json_key'
registry_password: ${{ secrets.GOOGLE_ARTIFACTS_PASSWORD_DOCKER }}

- name: Update version files
run: |
echo "${{ steps.latest_php_81_version.outputs.value }}" > projects/beach/channels/stable/versions/beach-php-8_1.txt
echo "${{ steps.latest_php_82_version.outputs.value }}" > projects/beach/channels/stable/versions/beach-php-8_2.txt
echo "${{ steps.latest_php_83_version.outputs.value }}" > projects/beach/channels/stable/versions/beach-php-8_3.txt
echo "${{ steps.latest_php_84_version.outputs.value }}" > projects/beach/channels/stable/versions/beach-php-8_4.txt
echo "${{ steps.latest_php_81_version.outputs.value }}" > projects/beach/channels/beta/versions/beach-php-8_1.txt
echo "${{ steps.latest_php_82_version.outputs.value }}" > projects/beach/channels/beta/versions/beach-php-8_2.txt
echo "${{ steps.latest_php_83_version.outputs.value }}" > projects/beach/channels/beta/versions/beach-php-8_3.txt
echo "${{ steps.latest_php_84_version.outputs.value }}" > projects/beach/channels/beta/versions/beach-php-8_4.txt
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand All @@ -66,6 +78,7 @@ jobs:
- ${{ steps.latest_php_81_version.outputs.value }}
- ${{ steps.latest_php_82_version.outputs.value }}
- ${{ steps.latest_php_83_version.outputs.value }}
- ${{ steps.latest_php_84_version.outputs.value }}
labels: |
automated pr
reviewers: |
Expand Down

0 comments on commit 859d417

Please sign in to comment.