Skip to content

Commit

Permalink
chore: update Dockerfile and release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pehlicd committed Sep 7, 2024
1 parent fbd85db commit 0513cd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: release
on:
push:
tags: ['v*.*.*']
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: true
default: 'v0.0.0'

permissions:
contents: write
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM node:18-alpine AS frontend-builder
FROM node:22 AS frontend-builder

WORKDIR /app/ui

COPY ui /app/ui

RUN npm install
RUN npm install -g npm@latest && \
npm install --force
RUN npm run build

FROM golang:1.23 as backend-builder
Expand Down

0 comments on commit 0513cd4

Please sign in to comment.