We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d93f15 commit c802b49Copy full SHA for c802b49
1 file changed
.github/workflows/docker.yaml
@@ -25,6 +25,7 @@ jobs:
25
with:
26
images: ghcr.io/pterodactyl/panel
27
tags: |
28
+ latest=false
29
type=raw,value=latest,enable=${{ github.event_name == 'release' && github.event.action == 'published' && github.event.release.prerelease == false }}
30
type=ref,event=tag
31
type=ref,event=branch
@@ -42,6 +43,11 @@ jobs:
42
43
username: ${{ github.repository_owner }}
44
password: ${{ secrets.REGISTRY_TOKEN }}
45
46
+ - name: Update app.php version
47
+ if: "github.event_name == 'release' && github.event.action == 'published'"
48
+ run: |
49
+ sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php
50
+
51
- name: Build and Push (tag)
52
uses: docker/build-push-action@v3
53
if: "github.event_name == 'release' && github.event.action == 'published'"
0 commit comments