ci(docker): fix version in app.php

This commit is contained in:
Matthew Penner 2022-12-05 12:39:07 -07:00
parent a2970cd784
commit e763c72d63
No known key found for this signature in database

View file

@ -49,8 +49,10 @@ jobs:
- name: Update version
if: "github.event_name == 'release' && github.event.action == 'published'"
env:
REF: ${{ github.event.release.tag_name }}
run: |
sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php
sed -i "s/ 'version' => 'canary',/ 'version' => '${REF}',/" config/app.php
- name: Build and Push
uses: docker/build-push-action@v3