-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Docker CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
# Build then a new version is tagged | ||
tags: | ||
- '*.*.*' | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
schedule: | ||
# Build every night at 1am | ||
- cron: '0 1 * * *' | ||
jobs: | ||
build: | ||
uses: samply/github-workflows/.github/workflows/docker-ci.yml@main | ||
with: | ||
image-name: "samply/feedback-agent-ui" | ||
push-to: dockerhub | ||
secrets: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [0.0.1 - 2024-05-17] | ||
### Added | ||
- CI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
FROM openjdk:17-oracle | ||
ARG JAR_FILE=*.jar | ||
COPY ${JAR_FILE} application.jar | ||
ENTRYPOINT ["java", "-jar", "application.jar"] | ||
FROM node:14-alpine | ||
WORKDIR /app | ||
COPY package.json package-lock.json ./ | ||
RUN npm install | ||
COPY frontend . | ||
|
||
RUN npm run build | ||
|
||
CMD npm run serve -- --port 8096 |
This file was deleted.
Oops, something went wrong.