@@ -34,23 +34,10 @@ jobs:
34
34
echo VERSION=develop >> $GITHUB_OUTPUT
35
35
fi
36
36
37
- # Build Vue frontend
37
+ # Build Vue 3 frontend
38
38
- uses : actions/setup-node@v4
39
39
with :
40
- node-version : ' 20'
41
- cache : yarn
42
- cache-dependency-path : vue/yarn.lock
43
- - name : Install dependencies
44
- working-directory : ./vue
45
- run : yarn install --frozen-lockfile
46
- - name : Build dependencies
47
- working-directory : ./vue
48
- run : yarn build
49
-
50
- # Build Vue 3 frontend
51
- - uses : actions/setup-node@v4
52
- with :
53
- node-version : ' 20'
40
+ node-version : ' 22'
54
41
cache : yarn
55
42
cache-dependency-path : vue3/yarn.lock
56
43
- name : Install dependencies
87
74
flavor : |
88
75
latest=false
89
76
suffix=${{ matrix.suffix }}
77
+ # disable latest for tagged releases while in beta
78
+ # type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
90
79
tags : |
91
- type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
92
80
type=semver,pattern={{version}}
93
81
type=semver,pattern={{major}}.{{minor}}
94
82
type=semver,pattern={{major}}
@@ -106,34 +94,34 @@ jobs:
106
94
cache-from : type=gha
107
95
cache-to : type=gha,mode=max
108
96
109
- notify-stable :
110
- name : Notify Stable
111
- runs-on : ubuntu-latest
112
- needs : build-container
113
- if : startsWith(github.ref, 'refs/tags/')
114
- steps :
115
- - name : Set tag name
116
- run : |
117
- # Strip "refs/tags/" prefix
118
- echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
119
- # Send stable discord notification
120
- - name : Discord notification
121
- env :
122
- DISCORD_WEBHOOK : ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
123
-
124
- with :
125
- args : ' 🚀 Version {{ VERSION }} of tandoor has been released 🥳 Check it out https://github.com/vabene1111/recipes/releases/tag/{{ VERSION }}'
97
+ # notify-stable:
98
+ # name: Notify Stable
99
+ # runs-on: ubuntu-latest
100
+ # needs: build-container
101
+ # if: startsWith(github.ref, 'refs/tags/')
102
+ # steps:
103
+ # - name: Set tag name
104
+ # run: |
105
+ # # Strip "refs/tags/" prefix
106
+ # echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
107
+ # # Send stable discord notification
108
+ # - name: Discord notification
109
+ # env:
110
+ # DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
111
+ # uses: Ilshidur/[email protected]
112
+ # with:
113
+ # args: '🚀 Version {{ VERSION }} of tandoor has been released 🥳 Check it out https://github.com/vabene1111/recipes/releases/tag/{{ VERSION }}'
126
114
127
115
notify-beta :
128
116
name : Notify Beta
129
117
runs-on : ubuntu-latest
130
118
needs : build-container
131
- if : github.ref == 'refs/heads/beta'
119
+ if : startsWith( github.ref, 'refs/tags/')
132
120
steps :
133
121
# Send beta discord notification
134
122
- name : Discord notification
135
123
env :
136
124
DISCORD_WEBHOOK : ${{ secrets.DISCORD_BETA_WEBHOOK }}
137
125
138
126
with :
139
- args : ' 🚀 The BETA Image has been updated! 🥳'
127
+ args : ' 🚀 The Tandoor 2 Image has been updated! 🥳'
0 commit comments