Skip to content

Commit

Permalink
Merge branch 'main' into jhthorsen/sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
jhthorsen committed Feb 16, 2023
2 parents 83248ef + e798525 commit 674a482
Show file tree
Hide file tree
Showing 322 changed files with 22,040 additions and 16,053 deletions.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
node_modules
public/assets
pnpm-lock.yaml
package-lock.json
19 changes: 19 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
root: true,
extends: ['eslint:recommended'],
plugins: ['svelte3'],
ignorePatterns: ['*.cjs'],
overrides: [{files: ['*.svelte'], processor: 'svelte3/svelte3'}],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020
},
env: {
browser: true,
es2017: true,
node: true
},
rules: {
"no-control-regex": 0
}
};
191 changes: 0 additions & 191 deletions .eslintrc.js

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: alpha
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
push: true
platforms: linux/amd64
tags: "${{ secrets.DOCKER_HUB_PREFIX }}/convos:alpha"
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
40 changes: 40 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: docker
on:
push:
tags:
- v*.*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Calculate tag name
id: calculate_tag
run: |
if echo $GITHUB_REF | grep -q '^refs/tags/v'; then
VERSION=$(echo $GITHUB_REF | cut -d/ -f3);
TAG_NAME="${{ secrets.DOCKER_HUB_PREFIX }}/convos:$VERSION";
fi
echo '::set-output name=tag::'$TAG_NAME
- name: Check Out Repo
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: "${{ secrets.DOCKER_HUB_PREFIX }}/convos:stable,${{ steps.calculate_tag.outputs.tag }}"
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
54 changes: 0 additions & 54 deletions .github/workflows/dockerimage.yml

This file was deleted.

0 comments on commit 674a482

Please sign in to comment.