Skip to content

Commit 674a482

Browse files
authored
Merge branch 'main' into jhthorsen/sqlite
2 parents 83248ef + e798525 commit 674a482

File tree

322 files changed

+22040
-16053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+22040
-16053
lines changed

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
node_modules
3+
public/assets
4+
pnpm-lock.yaml
5+
package-lock.json

.eslintrc.cjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
root: true,
3+
extends: ['eslint:recommended'],
4+
plugins: ['svelte3'],
5+
ignorePatterns: ['*.cjs'],
6+
overrides: [{files: ['*.svelte'], processor: 'svelte3/svelte3'}],
7+
parserOptions: {
8+
sourceType: 'module',
9+
ecmaVersion: 2020
10+
},
11+
env: {
12+
browser: true,
13+
es2017: true,
14+
node: true
15+
},
16+
rules: {
17+
"no-control-regex": 0
18+
}
19+
};

.eslintrc.js

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

.github/workflows/alpha.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: alpha
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check Out Repo
11+
uses: actions/checkout@v3
12+
- name: Login to Docker Hub
13+
uses: docker/login-action@v2
14+
with:
15+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
16+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
17+
- name: Set up QEMU
18+
uses: docker/setup-qemu-action@v2
19+
- name: Set up Docker Buildx
20+
id: buildx
21+
uses: docker/setup-buildx-action@v2
22+
- name: Build and push
23+
id: docker_build
24+
uses: docker/build-push-action@v4
25+
with:
26+
context: ./
27+
file: ./Dockerfile
28+
push: true
29+
platforms: linux/amd64
30+
tags: "${{ secrets.DOCKER_HUB_PREFIX }}/convos:alpha"
31+
- name: Image digest
32+
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/docker.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: docker
2+
on:
3+
push:
4+
tags:
5+
- v*.*
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Calculate tag name
11+
id: calculate_tag
12+
run: |
13+
if echo $GITHUB_REF | grep -q '^refs/tags/v'; then
14+
VERSION=$(echo $GITHUB_REF | cut -d/ -f3);
15+
TAG_NAME="${{ secrets.DOCKER_HUB_PREFIX }}/convos:$VERSION";
16+
fi
17+
echo '::set-output name=tag::'$TAG_NAME
18+
- name: Check Out Repo
19+
uses: actions/checkout@v3
20+
- name: Login to Docker Hub
21+
uses: docker/login-action@v2
22+
with:
23+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
24+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
25+
- name: Set up QEMU
26+
uses: docker/setup-qemu-action@v2
27+
- name: Set up Docker Buildx
28+
id: buildx
29+
uses: docker/setup-buildx-action@v2
30+
- name: Build and push
31+
id: docker_build
32+
uses: docker/build-push-action@v4
33+
with:
34+
context: ./
35+
file: ./Dockerfile
36+
push: true
37+
platforms: linux/amd64,linux/arm64
38+
tags: "${{ secrets.DOCKER_HUB_PREFIX }}/convos:stable,${{ steps.calculate_tag.outputs.tag }}"
39+
- name: Image digest
40+
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/dockerimage.yml

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

0 commit comments

Comments
 (0)