Skip to content

Commit 67f6373

Browse files
committed
changed build for alpha release
1 parent eeb3b2e commit 67f6373

File tree

2 files changed

+23
-145
lines changed

2 files changed

+23
-145
lines changed

.github/workflows/build-docker-open-data.yml

Lines changed: 0 additions & 110 deletions
This file was deleted.

.github/workflows/build-docker.yml

Lines changed: 23 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,10 @@ jobs:
3434
echo VERSION=develop >> $GITHUB_OUTPUT
3535
fi
3636
37-
# Build Vue frontend
37+
# Build Vue 3 frontend
3838
- uses: actions/setup-node@v4
3939
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'
5441
cache: yarn
5542
cache-dependency-path: vue3/yarn.lock
5643
- name: Install dependencies
@@ -87,8 +74,9 @@ jobs:
8774
flavor: |
8875
latest=false
8976
suffix=${{ matrix.suffix }}
77+
# disable latest for tagged releases while in beta
78+
# type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
9079
tags: |
91-
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
9280
type=semver,pattern={{version}}
9381
type=semver,pattern={{major}}.{{minor}}
9482
type=semver,pattern={{major}}
@@ -106,34 +94,34 @@ jobs:
10694
cache-from: type=gha
10795
cache-to: type=gha,mode=max
10896

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-
uses: Ilshidur/[email protected]
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 }}'
126114

127115
notify-beta:
128116
name: Notify Beta
129117
runs-on: ubuntu-latest
130118
needs: build-container
131-
if: github.ref == 'refs/heads/beta'
119+
if: startsWith(github.ref, 'refs/tags/')
132120
steps:
133121
# Send beta discord notification
134122
- name: Discord notification
135123
env:
136124
DISCORD_WEBHOOK: ${{ secrets.DISCORD_BETA_WEBHOOK }}
137125
uses: Ilshidur/[email protected]
138126
with:
139-
args: '🚀 The BETA Image has been updated! 🥳'
127+
args: '🚀 The Tandoor 2 Image has been updated! 🥳'

0 commit comments

Comments
 (0)