Fix Docker versioning (#1663)

This commit is contained in:
NerdsCorpx 2025-09-10 09:39:22 -05:00 committed by GitHub
parent 806820592f
commit 0e34886d7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -134,6 +134,11 @@ jobs:
docker push localhost:5000/base-php:arm64
rm base-php-arm64.tar base-php-amd64.tar
- name: Update version in config/app.php (tag)
if: "github.event_name == 'release' && github.event.action == 'published'"
run: |
sed -i "s/'version' => 'canary',/'version' => '${{ steps.build_info.outputs.version_tag }}',/" config/app.php
- name: Build and Push (tag)
uses: docker/build-push-action@v6
if: "github.event_name == 'release' && github.event.action == 'published'"