Skip to content

Commit 74c2406

Browse files
authored
Merge pull request #481 from 4gray/update-dockerfile
fix: update Dockerfile and GitHub Actions workflow
2 parents 6eab035 + 2259e11 commit 74c2406

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tauri-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
6262
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
6363
with:
64-
tagName: v__VERSION__-${{ matrix.platform }}${{ matrix.args != '' && format('-{0}', matrix.args) || '' }}
65-
releaseName: "IPTVnator v__VERSION__ (${{ matrix.platform }}${{ matrix.args != '' && format(' {0}', matrix.args) || '' }})"
64+
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
65+
releaseName: 'App v__VERSION__'
6666
releaseBody: 'See the assets to download this version and install.'
6767
releaseDraft: true
6868
prerelease: false

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ FROM nginx:stable-alpine
2929
COPY --from=build /usr/src/app/dist/ /usr/share/nginx/html
3030
COPY --from=build /usr/src/app/docker/nginx.conf /etc/nginx/conf.d/default.conf
3131

32-
CMD sed -i "s#http://localhost:3333#$BACKEND_URL#g" /usr/share/nginx/html/main-*.js && nginx -g 'daemon off;'
32+
CMD sed -i "s#http://localhost:3333#$BACKEND_URL#g" /usr/share/nginx/html/main.js && nginx -g 'daemon off;'

0 commit comments

Comments
 (0)