ci(docker): fix version in app.php
This commit is contained in:
parent
a2970cd784
commit
e763c72d63
1 changed files with 3 additions and 1 deletions
4
.github/workflows/docker.yaml
vendored
4
.github/workflows/docker.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue