Skip to content

Commit e763c72

Browse files
committed
ci(docker): fix version in app.php
1 parent a2970cd commit e763c72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ jobs:
4949

5050
- name: Update version
5151
if: "github.event_name == 'release' && github.event.action == 'published'"
52+
env:
53+
REF: ${{ github.event.release.tag_name }}
5254
run: |
53-
sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php
55+
sed -i "s/ 'version' => 'canary',/ 'version' => '${REF}',/" config/app.php
5456
5557
- name: Build and Push
5658
uses: docker/build-push-action@v3

0 commit comments

Comments
 (0)